aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/imThaiIm.c
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2012-10-22 13:54:11 -0500
committerUlrich Sibiller <uli42@gmx.de>2016-10-19 21:40:26 +0200
commit11d6dac92b6c3c3f62d49817809ce8c6a61c9293 (patch)
treed3c75707881906aa7812a0f2a6ec4b057ff708ae /nx-X11/lib/X11/imThaiIm.c
parent97b9864eabf7930e6d72c11a4d35182ef3bd3828 (diff)
downloadnx-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/imThaiIm.c')
-rw-r--r--nx-X11/lib/X11/imThaiIm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nx-X11/lib/X11/imThaiIm.c b/nx-X11/lib/X11/imThaiIm.c
index 73de70748..d360d0890 100644
--- a/nx-X11/lib/X11/imThaiIm.c
+++ b/nx-X11/lib/X11/imThaiIm.c
@@ -46,7 +46,7 @@ THIS SOFTWARE.
#include "XlcPubI.h"
#include "Ximint.h"
-Private XIMMethodsRec Xim_im_thai_methods = {
+static XIMMethodsRec Xim_im_thai_methods = {
_XimThaiCloseIM, /* close */
_XimLocalSetIMValues, /* set_values */
_XimLocalGetIMValues, /* get_values */
@@ -76,7 +76,7 @@ _XimCheckIfThaiProcessing(Xim im)
return(False);
}
-Public Bool
+Bool
_XimThaiOpenIM(Xim im)
{
XLCd lcd = im->core.lcd;
@@ -145,7 +145,7 @@ Open_Error :
return(False);
}
-Public void
+void
_XimThaiIMFree(Xim im)
{
if(im->core.im_resources) {
@@ -215,7 +215,7 @@ _XimThaiIMFree(Xim im)
return;
}
-Public Status
+Status
_XimThaiCloseIM(XIM xim)
{
Xim im = (Xim)xim;