summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-05-20 11:07:39 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-05-20 11:07:39 +0930
commit7a550cefd9417c22a4397ea4d103ddc347ab1a0f (patch)
tree0737694cf949870dd97a71fb5d5f4ccc92eb9d4a
parentf9edecd1b53a2e234def9cbd954a47c4bda2bebc (diff)
dix: shut up two compiler warnings.
-rw-r--r--dix/devices.c1
-rw-r--r--dix/main.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/dix/devices.c b/dix/devices.c
index 4dd1dc5f1..5606543f7 100644
--- a/dix/devices.c
+++ b/dix/devices.c
@@ -71,6 +71,7 @@ SOFTWARE.
#endif
#include "privates.h"
#include "xace.h"
+#include "mi.h"
#include "dispatch.h"
#include "swaprep.h"
diff --git a/dix/main.c b/dix/main.c
index 11ea29bba..328c0b4ba 100644
--- a/dix/main.c
+++ b/dix/main.c
@@ -240,7 +240,7 @@ int dix_main(int argc, char *argv[], char *envp[])
int main(int argc, char *argv[], char *envp[])
#endif
{
- int i, j, k, error;
+ int i, j, k;
char *xauthfile;
HWEventQueueType alwaysCheckForInput[2];