summaryrefslogtreecommitdiff
path: root/os/utils.c
diff options
context:
space:
mode:
authorRoland Mainz <roland.mainz@nrubsig.org>2004-04-20 03:27:09 +0000
committerRoland Mainz <roland.mainz@nrubsig.org>2004-04-20 03:27:09 +0000
commit102cb14a5d91bf074bed4c261d02434a32bf17dd (patch)
tree6f2faa0bdc0ba67900af7dac4f7aef1052e06f61 /os/utils.c
parent0d0097350fbbe12b434f625004f2fe9ed4091ee7 (diff)
downloadxserver-XPRINT.tar.gz
Fix for http://xprint.freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=491XPRINT
- RFE: Need workaround for bug 467 ("Xfree86 smart scheduler breaks Xprt")
Diffstat (limited to 'os/utils.c')
-rw-r--r--os/utils.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/os/utils.c b/os/utils.c
index 7724b0cfe..742dc9cb1 100644
--- a/os/utils.c
+++ b/os/utils.c
@@ -1,4 +1,4 @@
-/* $XdotOrg: xc/programs/Xserver/os/utils.c,v 1.1.4.6.2.5 2004/03/24 01:09:51 alanc Exp $ */
+/* $XdotOrg: xc/programs/Xserver/os/utils.c,v 1.1.4.6.2.4.6.2 2004/04/12 12:21:07 gisburn Exp $ */
/* $Xorg: utils.c,v 1.5 2001/02/09 02:05:24 xorgcvs Exp $ */
/*
@@ -576,6 +576,17 @@ VerifyDisplayName(const char *d)
}
/*
+ * This function is responsible for doing initalisation of any global
+ * variables at an very early point of server startup (even before
+ * |ProcessCommandLine()|.
+ */
+void InitGlobals(void)
+{
+ ddxInitGlobals();
+}
+
+
+/*
* This function parses the command line. Handles device-independent fields
* and allows ddx to handle additional fields. It is not allowed to modify
* argc or any of the strings pointed to by argv.