summaryrefslogtreecommitdiff
path: root/src/xkmread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xkmread.c')
-rw-r--r--src/xkmread.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/xkmread.c b/src/xkmread.c
index 55a4436..7c88241 100644
--- a/src/xkmread.c
+++ b/src/xkmread.c
@@ -35,7 +35,6 @@
#include <X11/Xos.h>
#include <X11/Xfuncs.h>
-#ifndef XKB_IN_SERVER
#include <stdlib.h>
#include <X11/Xlib.h>
@@ -47,27 +46,6 @@
#include "XKMformat.h"
#include "XKBfileInt.h"
-#else
-
-#include <X11/X.h>
-#include <X11/Xproto.h>
-#include <X11/keysym.h>
-#include "misc.h"
-#include "inputstr.h"
-#include <X11/extensions/XKBstr.h>
-#define XKBSRV_NEED_FILE_FUNCS
-#include <X11/extensions/XKBsrv.h>
-#include <X11/extensions/XKBgeom.h>
-
-Atom
-XkbInternAtom(Display * dpy, char *str, Bool only_if_exists)
-{
- if (str == NULL)
- return None;
- return MakeAtom(str, strlen(str), !only_if_exists);
-}
-
-#endif
#ifndef SEEK_SET
#define SEEK_SET 0