summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrevor Woerner <twoerner@gmail.com>2010-10-18 11:38:48 -0400
committerPeter Hutterer <peter.hutterer@who-t.net>2010-10-19 09:05:32 +1000
commit251c5d6dcc09c46be67274853e79026cc3d10fd4 (patch)
treef15a1ccdd6ff73b07a30989e478a25c67429bcbb
parent25d1e340eec73b010c4a5b1160aa0fa762a41cd0 (diff)
Code cleanup, structure initialization.
The InputDriverRec data structure in xserver/hw/xfree86/common/xf86Xinput.h no longer contains an integer refCount member. Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/kbd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/kbd.c b/src/kbd.c
index 16c9f02..e0b7003 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[] = {