summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZephaniah E. Hull <warp@agamemnon.b5>2006-09-10 15:50:51 -0400
committerZephaniah E. Hull <warp@agamemnon.b5>2006-09-10 15:50:51 -0400
commit58933757862c458e2da39bd464e50d9c0e41b313 (patch)
treec37025418c066f9fcbad92c41cd5989863edbacd
parent0a3740a0000191e3039fe183ae51b938d0548340 (diff)
Warning fix, and a syntax fix in a #if 0 section of code.
-rw-r--r--dix/events.c1
-rw-r--r--xkb/xkbUtils.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/dix/events.c b/dix/events.c
index c2c03950d..34ee9fb15 100644
--- a/dix/events.c
+++ b/dix/events.c
@@ -135,6 +135,7 @@ of the copyright holder.
#include <X11/extensions/XKBproto.h>
#include <X11/extensions/XKBsrv.h>
extern Bool XkbFilterEvents(ClientPtr, int, xEvent *);
+extern Bool XkbCopyKeymap(XkbDescPtr src, XkbDescPtr dst, Bool sendNotifies);
#endif
#ifdef XCSECURITY
diff --git a/xkb/xkbUtils.c b/xkb/xkbUtils.c
index 0fde727ea..cbf46d860 100644
--- a/xkb/xkbUtils.c
+++ b/xkb/xkbUtils.c
@@ -242,7 +242,7 @@ XkbMapChangesPtr mc;
xkb->min_key_code= first;
/* 1/12/95 (ef) -- XXX! should zero out the new maps */
changes->map.changed|= XkbKeycodesMask;
-generate a NewKeyboard notify here?
+/* generate a NewKeyboard notify here? */
}
}
#endif