mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user