mirror of
https://github.com/X11Libre/xf86-input-void.git
synced 2026-03-24 09:34:08 +00:00
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
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user