diff options
author | Julien Christau <jcristau@debian.org> | 2008-05-30 19:38:17 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-05-30 19:38:17 +0930 |
commit | c0f13a2490f7fcb8a742affb15f1beeb0259d0f8 (patch) | |
tree | 165f69a53abfafab0b287042bfbd282b39789de6 | |
parent | cd09dd2b4f861ebc9674bdede1d1c1a09cefcec2 (diff) |
Remove XFREE86_V4 ifdefs. #16152
Wasn't getting defined since the server started reporting 1.x as
XORG_VERSION_CURRENT, so no code was actually built.
Patch is untested.
Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
X.Org Bug 16152 <http://bugs.freedesktop.org/show_bug.cgi?id=16152>
-rw-r--r-- | src/js_x.c | 12 |
1 files changed, 1 insertions, 11 deletions
@@ -28,9 +28,6 @@ #include <sys/types.h> #include "xf86Version.h" -#if XORG_VERSION_CURRENT >= XF86_VERSION_NUMERIC(3,9,0,0,0) -#define XFREE86_V4 1 -#endif #include "misc.h" #include "xf86.h" #include "xf86_OSproc.h" @@ -38,11 +35,10 @@ #include "exevents.h" /* Needed for InitValuator/Proximity stuff */ #include "mipointer.h" -#ifdef XFree86LOADER #include "xf86Module.h" -#endif #include <errno.h> #include <string.h> +#include <unistd.h> #define JSX_XCOORD 65584 #define JSX_YCOORD 65585 @@ -51,8 +47,6 @@ #define SYSCALL(call) while(((call) == -1) && (errno == EINTR)) -#ifdef XFREE86_V4 - struct hiddev_event { unsigned hid; @@ -333,8 +327,6 @@ xf86JS_XInit(InputDriverPtr drv, IDevPtr dev, int flags) _X_EXPORT InputDriverRec JAMSTUDIO = { 1, "js_x", NULL, xf86JS_XInit, xf86JS_XUnInit, NULL, 0 }; -#ifdef XFree86LOADER - static void xf86JS_XUnplug(pointer p) { @@ -366,5 +358,3 @@ _X_EXPORT XF86ModuleData js_xModuleData = { xf86JS_XPlug, xf86JS_XUnplug }; -#endif -#endif |