summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2009-01-04 14:12:19 +1100
committerDaniel Stone <daniel@fooishbar.org>2009-01-20 15:32:18 +1100
commit07c3bb922b8c1ae8fe28198f6c451430b836f21e (patch)
tree89928e5aea2d942e0848fdbf690857fd600e2ac7
parent4f35a34f3cd3df3c8af129936d1808dcc063d8a7 (diff)
XKB: Move XkbCopyKeymap definition to xkbsrv.h
Signed-off-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--Xi/exevents.c1
-rw-r--r--dix/getevents.c2
-rw-r--r--include/xkbsrv.h5
-rw-r--r--xkb/xkb.h6
4 files changed, 6 insertions, 8 deletions
diff --git a/Xi/exevents.c b/Xi/exevents.c
index 81bdf0a1f..b136e0149 100644
--- a/Xi/exevents.c
+++ b/Xi/exevents.c
@@ -77,7 +77,6 @@ SOFTWARE.
#ifdef XKB
#include <X11/extensions/XKBproto.h>
#include "xkbsrv.h"
-extern Bool XkbCopyKeymap(XkbDescPtr src, XkbDescPtr dst, Bool sendNotifies);
#endif
#define WID(w) ((w) ? ((w)->drawable.id) : 0)
diff --git a/dix/getevents.c b/dix/getevents.c
index 672ff7df2..44636d73b 100644
--- a/dix/getevents.c
+++ b/dix/getevents.c
@@ -44,7 +44,7 @@
#ifdef XKB
#include <X11/extensions/XKBproto.h>
-#include <xkbsrv.h>
+#include "xkbsrv.h"
#endif
#ifdef PANORAMIX
diff --git a/include/xkbsrv.h b/include/xkbsrv.h
index ac1d82236..ee04063fb 100644
--- a/include/xkbsrv.h
+++ b/include/xkbsrv.h
@@ -974,6 +974,11 @@ extern _X_EXPORT void XkbSendNewKeyboardNotify(
xkbNewKeyboardNotify * /* pNKN */
);
+extern Bool XkbCopyKeymap(
+ XkbDescPtr /* dst */,
+ XkbDescPtr /* src */,
+ Bool /* sendNotifies */);
+
#include "xkbfile.h"
#include <X11/extensions/XKMformat.h>
#include "xkbrules.h"
diff --git a/xkb/xkb.h b/xkb/xkb.h
index bc6c6c954..45d9b3d7a 100644
--- a/xkb/xkb.h
+++ b/xkb/xkb.h
@@ -31,10 +31,4 @@ extern int ProcXkbSetDebuggingFlags(ClientPtr client);
extern void XkbExtensionInit(void);
extern Bool XkbFilterEvents(ClientPtr pClient, int nEvents, xEvent *xE);
-
-extern Bool XkbCopyKeymap(
- XkbDescPtr src,
- XkbDescPtr dst,
- Bool sendNotifies);
-
#endif