xkb: unexport XkbGetCoreMap() and XkbSetRepeatKeys()

Not needed by external drivers, so no need to keep them public.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-11-10 11:25:52 +01:00
committed by Enrico Weigelt
parent c06805b93a
commit 25d99353ee
4 changed files with 9 additions and 11 deletions

View File

@@ -59,6 +59,7 @@ SOFTWARE.
#include "dix/request_priv.h"
#include "dix/rpcbuf_priv.h"
#include "Xi/handlers.h"
#include "xkb/xkbsrv_priv.h"
#include "inputstr.h" /* DeviceIntPtr */
#include "swaprep.h"

View File

@@ -44,6 +44,10 @@
#include <stdlib.h>
#include <errno.h>
#include <sys/stat.h>
#include <assert.h>
#include <pthread.h>
#include "xkb/xkbsrv_priv.h"
#include "quartz.h"
#include "darwin.h"
@@ -53,9 +57,6 @@
#include "X11Application.h"
#include <assert.h>
#include <pthread.h>
#include "xkbsrv.h"
#include "exevents.h"
#include "X11/keysym.h"

View File

@@ -197,9 +197,6 @@ extern _X_EXPORT void XkbFreeKeyboard(XkbDescPtr /* xkb */ ,
Bool /* freeDesc */
);
extern _X_EXPORT KeySymsPtr XkbGetCoreMap(DeviceIntPtr /* keybd */
);
extern _X_EXPORT void XkbApplyMappingChange(DeviceIntPtr /* pXDev */ ,
KeySymsPtr /* map */ ,
KeyCode /* firstKey */ ,
@@ -213,11 +210,6 @@ extern _X_EXPORT void XkbDDXChangeControls(DeviceIntPtr /* dev */ ,
XkbControlsPtr /* new */
);
extern _X_EXPORT void XkbSetRepeatKeys(DeviceIntPtr /* pXDev */ ,
int /* key */ ,
int /* onoff */
);
extern _X_EXPORT void XkbGetRulesDflts(XkbRMLVOSet * /* rmlvo */
);

View File

@@ -303,4 +303,8 @@ int XkbDDXUsesSoftRepeat(DeviceIntPtr dev);
void XkbDDXKeybdCtrlProc(DeviceIntPtr dev, KeybdCtrl *ctrl);
void XkbDDXUpdateDeviceIndicators(DeviceIntPtr dev, XkbSrvLedInfoPtr sli,
CARD32 newState);
KeySymsPtr XkbGetCoreMap(DeviceIntPtr keybd);
void XkbSetRepeatKeys(DeviceIntPtr pXDev, int key, int onoff);
#endif /* _XSERVER_XKBSRV_PRIV_H_ */