--- X11/include/X11/Xlib.h-orig 2005-09-02 15:57:19.000000000 +0900 +++ X11/include/X11/Xlib.h 2005-09-03 07:40:51.000000000 +0900 @@ -1091,11 +1091,33 @@ char **font_name_list; } XOMFontInfo; -typedef void (*XIMProc)(); - typedef struct _XIM *XIM; typedef struct _XIC *XIC; +typedef void (*XIMProc)( +#if NeedFunctionPrototypes + XIM, + XPointer, + XPointer +#endif +); + +typedef Bool (*XICProc)( +#if NeedFunctionPrototypes + XIC, + XPointer, + XPointer +#endif +); + +typedef void (*XIDProc)( +#if NeedFunctionPrototypes + Display*, + XPointer, + XPointer +#endif +); + typedef unsigned long XIMStyle; typedef struct {