xkb: unexport XkbRF_GetComponents()
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:
parent
b535fd7a4c
commit
d3b328ba4a
|
@ -80,14 +80,6 @@ typedef struct _XkbRF_Rules {
|
|||
|
||||
_XFUNCPROTOBEGIN
|
||||
|
||||
/* Seems preferable to dragging xkbstr.h in. */
|
||||
struct _XkbComponentNames;
|
||||
|
||||
extern _X_EXPORT Bool XkbRF_GetComponents(XkbRF_RulesPtr /* rules */ ,
|
||||
XkbRF_VarDefsPtr /* var_defs */ ,
|
||||
struct _XkbComponentNames * /* names */
|
||||
);
|
||||
|
||||
extern _X_EXPORT Bool XkbRF_LoadRules(FILE * /* file */ ,
|
||||
XkbRF_RulesPtr /* rules */
|
||||
);
|
||||
|
|
|
@ -42,6 +42,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
#include "os/osdep.h"
|
||||
#include "xkb/xkbfile_priv.h"
|
||||
#include "xkb/xkbfmisc_priv.h"
|
||||
#include "xkb/xkbrules_priv.h"
|
||||
|
||||
#include "inputstr.h"
|
||||
#include "scrnintstr.h"
|
||||
|
|
|
@ -40,6 +40,9 @@
|
|||
#include <X11/Xfuncs.h>
|
||||
#include <X11/Xatom.h>
|
||||
#include <X11/keysym.h>
|
||||
|
||||
#include "xkb/xkbrules_priv.h"
|
||||
|
||||
#include "misc.h"
|
||||
#include "inputstr.h"
|
||||
#include "dix.h"
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
/* SPDX-License-Identifier: MIT OR X11
|
||||
*
|
||||
* Copyright © 2024 Enrico Weigelt, metux IT consult <info@metux.net>
|
||||
*/
|
||||
#ifndef _XSERVER_XKB_XKBRULES_PRIV_H
|
||||
#define _XSERVER_XKB_XKBRULES_PRIV_H
|
||||
|
||||
#include <X11/Xdefs.h>
|
||||
|
||||
#include "include/xkbrules.h"
|
||||
|
||||
struct _XkbComponentNames;
|
||||
|
||||
Bool XkbRF_GetComponents(XkbRF_RulesPtr rules,
|
||||
XkbRF_VarDefsPtr var_defs,
|
||||
struct _XkbComponentNames *names);
|
||||
|
||||
#endif /* _XSERVER_XKB_XKBRULES_PRIV_H */
|
Loading…
Reference in New Issue