summaryrefslogtreecommitdiff
path: root/dix/main.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-05-14 15:53:11 -0400
committerAdam Jackson <ajax@redhat.com>2008-05-14 15:53:11 -0400
commit2efe1abb6fc786a4f86464978ae0d23fc7347a98 (patch)
treea06dd6b79df15f75c67f072af58e75a4728d9f6d /dix/main.c
parent6c27b911222cdee9a057de0be7e8b2eff8b1ff2a (diff)
Remove global argc/argv variables.
Was only used in the logging code anymore, and uselessly so there.
Diffstat (limited to 'dix/main.c')
-rw-r--r--dix/main.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/dix/main.c b/dix/main.c
index 8bdfb5b7d..855050950 100644
--- a/dix/main.c
+++ b/dix/main.c
@@ -259,11 +259,6 @@ int main(int argc, char *argv[], char *envp[])
InitConnectionLimits();
- /* These are needed by some routines which are called from interrupt
- * handlers, thus have no direct calling path back to main and thus
- * can't be passed argc, argv as parameters */
- argcGlobal = argc;
- argvGlobal = argv;
/* prep X authority file from environment; this can be overriden by a
* command line option */
xauthfile = getenv("XAUTHORITY");