Prune XKB code to only what we need to run the server. Remove dead

!XKB_IN_SERVER codepaths. Remove HAVE_CONFIG_H codepaths.
This commit is contained in:
Daniel Stone
2006-03-27 23:03:47 +00:00
parent 5be8a66d32
commit 0e88cefbfe
13 changed files with 124 additions and 3175 deletions

View File

@@ -32,18 +32,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <config.h>
#endif
#ifndef XKB_IN_SERVER
#include <stdio.h>
#define NEED_REPLIES
#define NEED_EVENTS
#include "Xlibint.h"
#include <X11/extensions/XKBproto.h>
#include <X11/keysym.h>
#include "XKBlibint.h"
#else
#include <stdio.h>
#include <X11/X.h>
#define NEED_EVENTS
@@ -55,8 +43,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define XKBSRV_NEED_FILE_FUNCS
#include <X11/extensions/XKBsrv.h>
#endif /* XKB_IN_SERVER */
/***====================================================================***/
#define mapSize(m) (sizeof(m)/sizeof(XkbKTMapEntryRec))