summaryrefslogtreecommitdiff
path: root/include/dix.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-11-15 21:57:05 +0900
committerKeith Packard <keithp@keithp.com>2014-01-12 10:14:49 -0800
commitd89b42bda46d36fc0879611cc3b3566957ce36d0 (patch)
treefdbf1dc37a86b98e63ca5235506e5ff1f90e6b28 /include/dix.h
parentd6da9f23cca562fc0c6ae398665ab7fa770a4fa8 (diff)
Clean up warnings in DIX
As usual, mostly const char changes. However, filter_device_events had a potentially uninitialized value, 'raw', which I added a bunch of checks for. I suspect most of those are 'can't happen', but it's hard to see that inside the function. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'include/dix.h')
-rw-r--r--include/dix.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/dix.h b/include/dix.h
index fa7ccd4a3..7362e0722 100644
--- a/include/dix.h
+++ b/include/dix.h
@@ -289,7 +289,10 @@ extern _X_EXPORT void
SetVendorRelease(int release);
extern _X_EXPORT void
-SetVendorString(char *string);
+SetVendorString(const char *string);
+
+int
+dix_main(int argc, char *argv[], char *envp[]);
/* events.c */