xkb: unexport XkbRF_LoadRules()

Only used inside xkb/* - not used by any modules, so no need
to keep maintaining it in public headers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1840>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-02-26 10:17:15 +01:00 committed by Marge Bot
parent d3b328ba4a
commit c376cd2c3d
2 changed files with 3 additions and 4 deletions

View File

@ -80,10 +80,6 @@ typedef struct _XkbRF_Rules {
_XFUNCPROTOBEGIN
extern _X_EXPORT Bool XkbRF_LoadRules(FILE * /* file */ ,
XkbRF_RulesPtr /* rules */
);
extern _X_EXPORT XkbRF_RulesPtr XkbRF_Create(void);
extern _X_EXPORT void XkbRF_Free(XkbRF_RulesPtr /* rules */ ,

View File

@ -5,6 +5,7 @@
#ifndef _XSERVER_XKB_XKBRULES_PRIV_H
#define _XSERVER_XKB_XKBRULES_PRIV_H
#include <stdio.h>
#include <X11/Xdefs.h>
#include "include/xkbrules.h"
@ -15,4 +16,6 @@ Bool XkbRF_GetComponents(XkbRF_RulesPtr rules,
XkbRF_VarDefsPtr var_defs,
struct _XkbComponentNames *names);
Bool XkbRF_LoadRules(FILE *file, XkbRF_RulesPtr rules);
#endif /* _XSERVER_XKB_XKBRULES_PRIV_H */