From 0c5dab5c8eaa174f28054b9d20244a709c015210 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Wed, 6 Dec 2006 23:21:15 +0200 Subject: [PATCH] config: move config.h to hotplug.h Also, move configInitialise to after OsInit, since the next commit will make it use a timer. --- dix/dispatch.c | 1 - dix/main.c | 6 +++--- include/Makefile.am | 2 +- include/{config.h => hotplug.h} | 0 4 files changed, 4 insertions(+), 5 deletions(-) rename include/{config.h => hotplug.h} (100%) diff --git a/dix/dispatch.c b/dix/dispatch.c index 4c5a9b718..0a761eb6c 100644 --- a/dix/dispatch.c +++ b/dix/dispatch.c @@ -130,7 +130,6 @@ int ProcInitialConnection(); #include "dispatch.h" #include "swaprep.h" #include "swapreq.h" -#include "config.h" #ifdef PANORAMIX #include "panoramiX.h" #include "panoramiXsrv.h" diff --git a/dix/main.c b/dix/main.c index 077fdea04..3a77533a5 100644 --- a/dix/main.c +++ b/dix/main.c @@ -98,7 +98,7 @@ Equipment Corporation. #include #include "opaque.h" #include "servermd.h" -#include "config.h" +#include "hotplug.h" #include "site.h" #include "dixfont.h" #include "extnsionst.h" @@ -309,9 +309,9 @@ main(int argc, char *argv[], char *envp[]) DPMSPowerLevel = 0; #endif InitBlockAndWakeupHandlers(); - configInitialise(); /* Perform any operating system dependent initializations you'd like */ - OsInit(); + OsInit(); + configInitialise(); if(serverGeneration == 1) { CreateWellKnownSockets(); diff --git a/include/Makefile.am b/include/Makefile.am index 9f07fa650..4289b818d 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -7,7 +7,7 @@ sdk_HEADERS = \ closure.h \ colormap.h \ colormapst.h \ - config.h \ + hotplug.h \ cursor.h \ cursorstr.h \ dix.h \ diff --git a/include/config.h b/include/hotplug.h similarity index 100% rename from include/config.h rename to include/hotplug.h