xkb: unexport XkbCopyKeyTypes()

Not used by any drivers, so no need to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-04-03 19:33:00 +02:00
parent 7564ed0195
commit f0748c22df
3 changed files with 2 additions and 7 deletions

View File

@ -28,7 +28,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define _XKBSRV_H_
#define XkbChangeTypesOfKey SrvXkbChangeTypesOfKey
#define XkbCopyKeyTypes SrvXkbCopyKeyTypes
#define XkbKeyTypesForCoreSymbols SrvXkbKeyTypesForCoreSymbols
#define XkbApplyCompatMapToKey SrvXkbApplyCompatMapToKey
#define XkbResizeKeyActions SrvXkbResizeKeyActions
@ -202,11 +201,6 @@ typedef struct {
#define Status int
extern _X_EXPORT Status XkbCopyKeyTypes(XkbKeyTypePtr /* from */ ,
XkbKeyTypePtr /* into */ ,
int /* num_types */
);
extern _X_EXPORT Status XkbResizeKeyType(XkbDescPtr /* xkb */ ,
int /* type_ndx */ ,
int /* map_count */ ,

View File

@ -249,7 +249,7 @@ XkbCopyKeyType(XkbKeyTypePtr from, XkbKeyTypePtr into)
return Success;
}
Status
int
XkbCopyKeyTypes(XkbKeyTypePtr from, XkbKeyTypePtr into, int num_types)
{
register int i, rtrn;

View File

@ -123,6 +123,7 @@ int XkbAllocCompatMap(XkbDescPtr xkb, unsigned int which, unsigned int nInterpre
int XkbAllocNames(XkbDescPtr xkb, unsigned int which, int nTotalRG,
int nTotalAliases);
int XkbAllocControls(XkbDescPtr xkb, unsigned int which);
int XkbCopyKeyTypes(XkbKeyTypePtr from, XkbKeyTypePtr into, int num_types);
extern DevPrivateKeyRec xkbDevicePrivateKeyRec;