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

Trevor Woerner twoerner at gmail.com
Mon Oct 18 08:38:48 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.

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

diff --git a/src/kbd.c b/src/kbd.c
index b5b3996..ccf24eb 100644
--- a/src/kbd.c
+++ b/src/kbd.c
@@ -65,8 +65,7 @@ _X_EXPORT InputDriverRec KBD = {
 	NULL,
 	KbdPreInit,
 	NULL,
-	NULL,
-	0
+	NULL
 };
 
 _X_EXPORT InputDriverRec KEYBOARD = {
@@ -75,8 +74,7 @@ _X_EXPORT InputDriverRec KEYBOARD = {
 	NULL,
 	KbdPreInit,
 	NULL,
-	NULL,
-	0
+	NULL
 };
 
 static const char *kbdDefaults[] = {
-- 
1.7.3.1.104.gc752e



More information about the xorg-devel mailing list