aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/imThaiIm.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/X11/imThaiIm.c')
-rw-r--r--nx-X11/lib/X11/imThaiIm.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/nx-X11/lib/X11/imThaiIm.c b/nx-X11/lib/X11/imThaiIm.c
index 73de70748..c17723aca 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;
@@ -227,7 +227,7 @@ _XimThaiCloseIM(XIM xim)
while (ic) {
(*ic->methods->destroy) (ic);
next = ic->core.next;
- Xfree ((char *) ic);
+ Xfree (ic);
ic = next;
}
_XimThaiIMFree(im);