xkb: unexport rules management functions

These aren't called by any driver, so no need to keep them exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-04-04 20:30:15 +02:00
parent 3029236cf3
commit 827277821b
3 changed files with 11 additions and 18 deletions

View File

@ -564,14 +564,6 @@ extern _X_EXPORT void XkbSetRepeatKeys(DeviceIntPtr /* pXDev */ ,
int /* onoff */ int /* onoff */
); );
extern _X_EXPORT void XkbInitRules(XkbRMLVOSet * /* rmlvo */,
const char * /* rules */,
const char * /* model */,
const char * /* layout */,
const char * /* variant */,
const char * /* options */
) ;
extern _X_EXPORT void XkbGetRulesDflts(XkbRMLVOSet * /* rmlvo */ extern _X_EXPORT void XkbGetRulesDflts(XkbRMLVOSet * /* rmlvo */
); );
@ -579,15 +571,6 @@ extern _X_EXPORT void XkbFreeRMLVOSet(XkbRMLVOSet * /* rmlvo */ ,
Bool /* freeRMLVO */ Bool /* freeRMLVO */
); );
extern _X_EXPORT void XkbSetRulesDflts(XkbRMLVOSet * /* rmlvo */
);
extern _X_EXPORT void XkbDeleteRulesDflts(void
);
extern _X_EXPORT void XkbDeleteRulesUsed(void
);
extern _X_EXPORT XkbGeometryPtr XkbLookupNamedGeometry(DeviceIntPtr /* dev */ , extern _X_EXPORT XkbGeometryPtr XkbLookupNamedGeometry(DeviceIntPtr /* dev */ ,
Atom /* name */ , Atom /* name */ ,
Bool * /* shouldFree */ Bool * /* shouldFree */

View File

@ -37,11 +37,13 @@
#include <X11/Xproto.h> #include <X11/Xproto.h>
#include <X11/keysym.h> #include <X11/keysym.h>
#include <X11/Xatom.h> #include <X11/Xatom.h>
#include "xkb/xkbsrv_priv.h"
#include "misc.h" #include "misc.h"
#include "inputstr.h" #include "inputstr.h"
#include "opaque.h" #include "opaque.h"
#include "property.h" #include "property.h"
#include <xkbsrv.h>
#include "../xkb/xkbgeom.h" #include "../xkb/xkbgeom.h"
#include <X11/extensions/XKMformat.h> #include <X11/extensions/XKMformat.h>
#include <assert.h> #include <assert.h>

View File

@ -148,4 +148,12 @@ int XkbLatchGroup(DeviceIntPtr pXDev, int group);
void XkbClearAllLatchesAndLocks(DeviceIntPtr dev, XkbSrvInfoPtr xkbi, void XkbClearAllLatchesAndLocks(DeviceIntPtr dev, XkbSrvInfoPtr xkbi,
Bool genEv, XkbEventCausePtr cause); Bool genEv, XkbEventCausePtr cause);
/* xkb rules */
void XkbInitRules(XkbRMLVOSet *rmlvo, const char *rules,
const char *model, const char *layout,
const char *variant, const char *options);
void XkbSetRulesDflts(XkbRMLVOSet *rmlvo);
void XkbDeleteRulesDflts(void);
void XkbDeleteRulesUsed(void);
#endif /* _XSERVER_XKBSRV_PRIV_H_ */ #endif /* _XSERVER_XKBSRV_PRIV_H_ */