This macro isn't needed anywhere else.
Signed-off-by: Peter Hutterer <[email protected]>
---
src/wcmISDV4.c | 2 ++
src/xf86Wacom.h | 2 --
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/wcmISDV4.c b/src/wcmISDV4.c
index 18717b9..1fd52e4 100644
--- a/src/wcmISDV4.c
+++ b/src/wcmISDV4.c
@@ -29,6 +29,8 @@
#define WC_ISDV4_STOP "0" /* ISDV4 stop command */
#define WC_ISDV4_SAMPLING "1" /* ISDV4 sampling command */
+#define RESET_RELATIVE(ds) do { (ds).relwheel = 0; } while (0)
+
static Bool isdv4Detect(LocalDevicePtr);
static Bool isdv4Init(LocalDevicePtr, char* id, float *version);
static void isdv4InitISDV4(WacomCommonPtr, const char* id, float version);
diff --git a/src/xf86Wacom.h b/src/xf86Wacom.h
index 98789f2..6d3341c 100644
--- a/src/xf86Wacom.h
+++ b/src/xf86Wacom.h
@@ -142,8 +142,6 @@ struct _WacomModule
*/
#define SYSCALL(call) while(((call) == -1) && (errno == EINTR))
-#define RESET_RELATIVE(ds) do { (ds).relwheel = 0; } while (0)
-
/* device autoprobing */
char *wcmEventAutoDevProbe (LocalDevicePtr local);
--
1.6.6.1
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel