diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2010-07-02 11:43:56 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2010-07-02 12:20:59 -0400 |
commit | 5669e1a82d24af8ebb6653f75a80f8b11279a6fc (patch) | |
tree | 36063d0b36ec3cde79bdc7525923fc416ffa4695 /include | |
parent | 9f6026867a7a3543efdee5d3051f160e67c0edd3 (diff) | |
download | xorg-lib-libxkbcommon-5669e1a82d24af8ebb6653f75a80f8b11279a6fc.tar.gz |
Compile with -fvisibility=hidden when possible
Diffstat (limited to 'include')
-rw-r--r-- | include/X11/extensions/XKBcommon.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/X11/extensions/XKBcommon.h b/include/X11/extensions/XKBcommon.h index ab67e6e..59a0dd4 100644 --- a/include/X11/extensions/XKBcommon.h +++ b/include/X11/extensions/XKBcommon.h @@ -884,19 +884,19 @@ _XFUNCPROTOBEGIN typedef uint32_t (*InternAtomFuncPtr)(const char *val); typedef const char *(*GetAtomValueFuncPtr)(uint32_t atom); -extern void +_X_EXPORT extern void XkbcInitAtoms(InternAtomFuncPtr intern, GetAtomValueFuncPtr get_atom_value); -extern struct xkb_desc * +_X_EXPORT extern struct xkb_desc * XkbcCompileKeymapFromRules(const XkbRMLVOSet *rmlvo); -extern struct xkb_desc * +_X_EXPORT extern struct xkb_desc * XkbcCompileKeymapFromComponents(const struct xkb_component_names * ktcsg); -extern struct xkb_desc * +_X_EXPORT extern struct xkb_desc * XkbcCompileKeymapFromFile(FILE *inputFile, const char *mapName); -extern struct xkb_component_list * +_X_EXPORT extern struct xkb_component_list * XkbcListComponents(struct xkb_component_names * ptrns, int *maxMatch); /* @@ -913,7 +913,7 @@ XkbcListComponents(struct xkb_component_names * ptrns, int *maxMatch); * If a component in names needs to be modified, the existing value will be * free()d, and a new one allocated with malloc(). */ -extern void +_X_EXPORT extern void XkbcCanonicaliseComponents(struct xkb_component_names * names, const struct xkb_component_names * old); @@ -928,14 +928,14 @@ XkbcCanonicaliseComponents(struct xkb_component_names * names, * This is uint32_t rather than KeySym, as KeySym changes size between * client and server (no, really). */ -extern char * +_X_EXPORT extern char * XkbcKeysymToString(uint32_t ks); /* * See XkbcKeysymToString comments: this function will accept any string * from that function. */ -extern uint32_t +_X_EXPORT extern uint32_t XkbcStringToKeysym(const char *s); _XFUNCPROTOEND |