diff options
author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2012-10-22 13:54:11 -0500 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2016-10-19 21:40:26 +0200 |
commit | 11d6dac92b6c3c3f62d49817809ce8c6a61c9293 (patch) | |
tree | d3c75707881906aa7812a0f2a6ec4b057ff708ae /nx-X11/lib/X11/imInsClbk.c | |
parent | 97b9864eabf7930e6d72c11a4d35182ef3bd3828 (diff) | |
download | nx-libs-11d6dac92b6c3c3f62d49817809ce8c6a61c9293.tar.gz nx-libs-11d6dac92b6c3c3f62d49817809ce8c6a61c9293.tar.bz2 nx-libs-11d6dac92b6c3c3f62d49817809ce8c6a61c9293.zip |
XIM: remove Private and Public macros
Private is a struct member name in mingw-w64 <winioctl.h>, causing this
useless define in a private header to break the build.
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nx-X11/lib/X11/imInsClbk.c')
-rw-r--r-- | nx-X11/lib/X11/imInsClbk.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/nx-X11/lib/X11/imInsClbk.c b/nx-X11/lib/X11/imInsClbk.c index cb1905c01..47a56c508 100644 --- a/nx-X11/lib/X11/imInsClbk.c +++ b/nx-X11/lib/X11/imInsClbk.c @@ -52,11 +52,11 @@ typedef struct _XimInstCallback { } XimInstCallbackRec, *XimInstCallback; -Private XimInstCallback callback_list = NULL; -Private Bool lock = False; +static XimInstCallback callback_list = NULL; +static Bool lock = False; -Private void +static void MakeLocale( XLCd lcd, char locale[] ) { char *language, *territory, *codeset; @@ -76,7 +76,7 @@ MakeLocale( XLCd lcd, char locale[] ) } -Private Bool +static Bool _XimFilterPropertyNotify( Display *display, Window window, @@ -150,7 +150,7 @@ _XimFilterPropertyNotify( } -Public Bool +Bool _XimRegisterIMInstantiateCallback( XLCd lcd, Display *display, @@ -213,7 +213,7 @@ _XimRegisterIMInstantiateCallback( } -Public Bool +Bool _XimUnRegisterIMInstantiateCallback( XLCd lcd, Display *display, @@ -267,7 +267,7 @@ _XimUnRegisterIMInstantiateCallback( } -Public void +void _XimResetIMInstantiateCallback(Xim xim) { char locale[XIM_MAXLCNAMELEN]; |