diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-09-07 09:48:34 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-09-07 09:48:34 -0700 |
commit | 1d64a7f636320786e5e5e76e8371d6d666bd0849 (patch) | |
tree | 7294f7dbe8c8842a50cb0a7c9f3e15d3c495488c /src/void.c | |
parent | 3b25347c21b833bea42223529b8c005e3ff1ea59 (diff) |
Clear compiler & sparse warnings
void.c:41:9: warning: preprocessor token NEED_XF86_TYPES redefined
/usr/X11R7/include/xorg/xorg-server.h:69:9: this was the original definition
void.c:298:35: warning: Using plain integer as NULL pointer
Diffstat (limited to 'src/void.c')
-rw-r--r-- | src/void.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -38,7 +38,7 @@ #include <misc.h> #include <xf86.h> -#define NEED_XF86_TYPES +#define NEED_XF86_TYPES 1 #if !defined(DGUX) #include <xisb.h> #endif @@ -295,7 +295,7 @@ xf86VoidInit(InputDriverPtr drv, pInfo->fd = -1; pInfo->dev = NULL; pInfo->private_flags = 0; - pInfo->always_core_feedback = 0; + pInfo->always_core_feedback = NULL; pInfo->conf_idev = dev; /* Collect the options, and process the common options. */ |