xkb: rename xkb.h to xkb-procs.h

This header merely defines the various protocol request handlers, so
let's rename it to something less generic and remove its include from
all the files that don't actually need it (which is almost all of them).

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Olivier Fourdan <ofourdan@redhat.com>
This commit is contained in:
Peter Hutterer 2022-07-04 09:42:53 +10:00 committed by Olivier Fourdan
parent d9dd300b8d
commit a2762514b6
11 changed files with 2 additions and 10 deletions

View File

@ -48,7 +48,6 @@
#include "../xkb/xkbgeom.h" #include "../xkb/xkbgeom.h"
#include <X11/extensions/XKMformat.h> #include <X11/extensions/XKMformat.h>
#include "xkbfile.h" #include "xkbfile.h"
#include "../xkb/xkb.h"
#include <assert.h> #include <assert.h>
#include "tests-common.h" #include "tests-common.h"

View File

@ -43,7 +43,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define XKBSRV_NEED_FILE_FUNCS #define XKBSRV_NEED_FILE_FUNCS
#include <xkbsrv.h> #include <xkbsrv.h>
#include <X11/extensions/XI.h> #include <X11/extensions/XI.h>
#include "xkb.h"
#define PRE_ERROR_MSG "\"The XKEYBOARD keymap compiler (xkbcomp) reports:\"" #define PRE_ERROR_MSG "\"The XKEYBOARD keymap compiler (xkbcomp) reports:\""
#define ERROR_PREFIX "\"> \"" #define ERROR_PREFIX "\"> \""

View File

@ -38,7 +38,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "extnsionst.h" #include "extnsionst.h"
#include "extinit.h" #include "extinit.h"
#include "xace.h" #include "xace.h"
#include "xkb.h" #include "xkb-procs.h"
#include "protocol-versions.h" #include "protocol-versions.h"
#include <X11/extensions/XI.h> #include <X11/extensions/XI.h>

View File

@ -38,7 +38,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "exevents.h" #include "exevents.h"
#include "eventstr.h" #include "eventstr.h"
#include <xkbsrv.h> #include <xkbsrv.h>
#include "xkb.h"
#include <ctype.h> #include <ctype.h>
#include "mi.h" #include "mi.h"
#include "mipointer.h" #include "mipointer.h"

View File

@ -39,7 +39,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "exglobals.h" #include "exglobals.h"
#include "windowstr.h" #include "windowstr.h"
#include <xkbsrv.h> #include <xkbsrv.h>
#include "xkb.h"
/***====================================================================***/ /***====================================================================***/

View File

@ -49,7 +49,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "xkbgeom.h" #include "xkbgeom.h"
#include <X11/extensions/XKMformat.h> #include <X11/extensions/XKMformat.h>
#include "xkbfile.h" #include "xkbfile.h"
#include "xkb.h"
#define CREATE_ATOM(s) MakeAtom(s,sizeof(s)-1,1) #define CREATE_ATOM(s) MakeAtom(s,sizeof(s)-1,1)

View File

@ -38,7 +38,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <X11/extensions/XI.h> #include <X11/extensions/XI.h>
#include <xkbsrv.h> #include <xkbsrv.h>
#include "xkb.h"
/***====================================================================***/ /***====================================================================***/

View File

@ -36,7 +36,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <xkbsrv.h> #include <xkbsrv.h>
#include "xkbstr.h" #include "xkbstr.h"
#include "extnsionst.h" #include "extnsionst.h"
#include "xkb.h" #include "xkb-procs.h"
/* /*
* REQUEST SWAPPING * REQUEST SWAPPING

View File

@ -67,7 +67,6 @@ DEALINGS IN THE SOFTWARE.
#define XKBSRV_NEED_FILE_FUNCS #define XKBSRV_NEED_FILE_FUNCS
#include <xkbsrv.h> #include <xkbsrv.h>
#include "xkbgeom.h" #include "xkbgeom.h"
#include "xkb.h"
/***====================================================================***/ /***====================================================================***/

View File

@ -46,7 +46,6 @@
#define XKBSRV_NEED_FILE_FUNCS 1 #define XKBSRV_NEED_FILE_FUNCS 1
#include <xkbsrv.h> #include <xkbsrv.h>
#include "xkbgeom.h" #include "xkbgeom.h"
#include "xkb.h"
unsigned unsigned
_XkbKSCheckCase(KeySym ks) _XkbKSCheckCase(KeySym ks)