aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/xkb/XKBBind.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-09-25 06:49:30 +0000
committermarha <marha@users.sourceforge.net>2009-09-25 06:49:30 +0000
commit89294559b44d2059dadc304a4cc9ce4c6fb7a101 (patch)
treedfe9ea2dade6e82b4bdfc6969c3c814a2168e9f7 /libX11/src/xkb/XKBBind.c
parent55ddb6c22f67aa02109b2d8ef44e45f8dbcff0c5 (diff)
downloadvcxsrv-89294559b44d2059dadc304a4cc9ce4c6fb7a101.tar.gz
vcxsrv-89294559b44d2059dadc304a4cc9ce4c6fb7a101.tar.bz2
vcxsrv-89294559b44d2059dadc304a4cc9ce4c6fb7a101.zip
Solved compiler warnings.
Diffstat (limited to 'libX11/src/xkb/XKBBind.c')
-rw-r--r--libX11/src/xkb/XKBBind.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/libX11/src/xkb/XKBBind.c b/libX11/src/xkb/XKBBind.c
index 5872cf631..46f639051 100644
--- a/libX11/src/xkb/XKBBind.c
+++ b/libX11/src/xkb/XKBBind.c
@@ -34,23 +34,6 @@ from The Open Group.
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
-#include "XKBlib.h"
-#include <X11/Xlibint.h>
-#include <X11/Xutil.h>
-#include <X11/keysym.h>
-#include <stdio.h>
-#include <ctype.h>
-
-#include <X11/extensions/XKBproto.h>
-#include "XKBlibint.h"
-
-#ifdef USE_OWN_COMPOSE
-#define COMPOSE_NO_CONST_MEMBERS
-#include "imComp.h"
-#endif
-
-#define AllMods (ShiftMask|LockMask|ControlMask| \
- Mod1Mask|Mod2Mask|Mod3Mask|Mod4Mask|Mod5Mask)
#ifdef XKB_IN_SERVER
#define XkbAllocClientMap SrvXkbAllocClientMap
@@ -79,7 +62,24 @@ from The Open Group.
#define XkbApplyVirtualModChanges SrvXkbApplyVirtualModChanges
#endif
-
+#include "XKBlib.h"
+#include <X11/Xlibint.h>
+#include <X11/Xutil.h>
+#include <X11/keysym.h>
+#include <stdio.h>
+#include <ctype.h>
+
+#include <X11/extensions/XKBproto.h>
+#include "XKBlibint.h"
+
+#ifdef USE_OWN_COMPOSE
+#define COMPOSE_NO_CONST_MEMBERS
+#include "imComp.h"
+#endif
+
+#define AllMods (ShiftMask|LockMask|ControlMask| \
+ Mod1Mask|Mod2Mask|Mod3Mask|Mod4Mask|Mod5Mask)
+
static int _XkbLoadDpy(
Display *dpy
);