aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-05-19 08:36:20 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-05-19 08:36:20 +0930
commit3e0dc9945d795cfd51ffe176100fa9416b6d3c4d (patch)
treeee06e917721ff352f415849b1b0ba6938ec66a08
parentRemove unused EvdevOpts and EvdevOptions. (diff)
downloadxf86-input-evdev-3e0dc9945d795cfd51ffe176100fa9416b6d3c4d.tar.gz
xf86-input-evdev-3e0dc9945d795cfd51ffe176100fa9416b6d3c4d.tar.bz2
xf86-input-evdev-3e0dc9945d795cfd51ffe176100fa9416b6d3c4d.zip
Shut up two compiler warnings.
-rw-r--r--src/evdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evdev.c b/src/evdev.c
index 68e6cc2..3e4a48c 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -34,6 +34,7 @@
#include <X11/extensions/XIproto.h>
#include <linux/input.h>
+#include <unistd.h>
#include <misc.h>
#include <xf86.h>
@@ -172,7 +173,6 @@ EvdevReadInput(InputInfoPtr pInfo)
int len, value;
int dx, dy;
unsigned int abs;
- Bool do_touchpad_motion = FALSE;
EvdevPtr pEvdev = pInfo->private;
dx = 0;