From 11d6dac92b6c3c3f62d49817809ce8c6a61c9293 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Mon, 22 Oct 2012 13:54:11 -0500 Subject: XIM: remove Private and Public macros Private is a struct member name in mingw-w64 , causing this useless define in a private header to break the build. Signed-off-by: Yaakov Selkowitz Reviewed-by: Jon TURNEY Backported-to-NX-by: Ulrich Sibiller --- nx-X11/lib/X11/imInsClbk.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'nx-X11/lib/X11/imInsClbk.c') 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]; -- cgit v1.2.3