[PATCH xf86-input-joystick 2/2] Code cleanup, bad structure initialization.

Trevor Woerner twoerner at gmail.com
Sun Oct 17 18:26:16 PDT 2010


From: Trevor Woerner <twoerner at gmail.com>

The InputDriverRec data structure in xserver/hw/xfree86/common/xf86Xinput.h
no longer contains an integer refCount member; as per commit
d568221710959cf7d783e6ff0fb80fb43a231124.

Signed-off-by: Trevor Woerner <twoerner at gmail.com>
---
 src/jstk.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/jstk.c b/src/jstk.c
index fbfe905..836bd71 100644
--- a/src/jstk.c
+++ b/src/jstk.c
@@ -497,8 +497,7 @@ _X_EXPORT InputDriverRec JSTK_KEYBOARD = {
     NULL,
     jstkKeyboardPreInit,
     jstkKeyboardUnInit,
-    NULL,
-    0
+    NULL
 };
 
 /*
@@ -768,8 +767,7 @@ _X_EXPORT InputDriverRec JOYSTICK = {
     NULL,
     jstkCorePreInit,
     jstkCoreUnInit,
-    NULL,
-    0
+    NULL
 };
 
 
-- 
1.7.3.1.120.g38a18



More information about the xorg-devel mailing list