summaryrefslogtreecommitdiff
path: root/hw/xfree86/common
diff options
context:
space:
mode:
authorAdam Jackson <ajax@benzedrine.nwnk.net>2006-08-24 15:50:15 -0400
committerAdam Jackson <ajax@benzedrine.nwnk.net>2006-08-24 15:50:15 -0400
commitb879356ce96929d02bcb75b9aa24b17ac7e28125 (patch)
tree23732d5dd2855634ab705727bf377222ec8f3abb /hw/xfree86/common
parent4ed311cf1c29090c53e474a3001c5702ff8409df (diff)
More #ifdef USE_DEPRECATED_KEYBOARD_DRIVER.
Diffstat (limited to 'hw/xfree86/common')
-rw-r--r--hw/xfree86/common/xf86Init.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c
index cd072f575..408536d11 100644
--- a/hw/xfree86/common/xf86Init.c
+++ b/hw/xfree86/common/xf86Init.c
@@ -135,7 +135,8 @@ static int numFormats = 6;
#endif
static Bool formatsDone = FALSE;
-InputDriverRec XF86KEYBOARD = {
+#ifdef USE_DEPRECATED_KEYBOARD_DRIVER
+static InputDriverRec XF86KEYBOARD = {
1,
"keyboard",
NULL,
@@ -144,6 +145,7 @@ InputDriverRec XF86KEYBOARD = {
NULL,
0
};
+#endif
static Bool
xf86CreateRootWindow(WindowPtr pWin)