summaryrefslogtreecommitdiff
path: root/xkb/XKBGAlloc.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-03-27 23:03:47 +0000
committerDaniel Stone <daniel@fooishbar.org>2006-03-27 23:03:47 +0000
commit0e88cefbfecbff0c7dd606ce0caca840f45cbc0d (patch)
treeb33fadb88309ddb2531c75e2691e597894a4e575 /xkb/XKBGAlloc.c
parent5be8a66d324f3d5840b134ad29069eace64e6f12 (diff)
Prune XKB code to only what we need to run the server. Remove dead
!XKB_IN_SERVER codepaths. Remove HAVE_CONFIG_H codepaths.
Diffstat (limited to 'xkb/XKBGAlloc.c')
-rw-r--r--xkb/XKBGAlloc.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/xkb/XKBGAlloc.c b/xkb/XKBGAlloc.c
index fddb770b6..3be32da9d 100644
--- a/xkb/XKBGAlloc.c
+++ b/xkb/XKBGAlloc.c
@@ -28,23 +28,11 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
-#elif defined(HAVE_CONFIG_H)
-#include <config.h>
#endif
#define NEED_EVENTS
#define NEED_REPLIES
-#ifndef XKB_IN_SERVER
-
-#include <stdio.h>
-#include "Xlibint.h"
-#include "XKBlibint.h"
-#include <X11/extensions/XKBgeom.h>
-#include <X11/extensions/XKBproto.h>
-
-#else
-
#include <stdio.h>
#include <X11/X.h>
#include <X11/Xproto.h>
@@ -53,8 +41,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <X11/extensions/XKBsrv.h>
#include <X11/extensions/XKBgeom.h>
-#endif /* XKB_IN_SERVER */
-
#ifdef X_NOT_POSIX
#define Size_t unsigned int
#else