[PATCH] winex11.drv: Make XIM functions hidden
Maarten Lankhorst
m.b.lankhorst at gmail.com
Tue Dec 16 08:02:52 CST 2008
ForceXIMReset is no longer called externally, so the export is removed
---
dlls/winex11.drv/winex11.drv.spec | 3 ---
dlls/winex11.drv/x11drv.h | 10 +++++-----
2 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/dlls/winex11.drv/winex11.drv.spec b/dlls/winex11.drv/winex11.drv.spec
index 7cafaac..585d130 100644
--- a/dlls/winex11.drv/winex11.drv.spec
+++ b/dlls/winex11.drv/winex11.drv.spec
@@ -134,9 +134,6 @@
# System tray
@ cdecl wine_notify_icon(long ptr)
-# XIM
-@ cdecl ForceXIMReset(long) X11DRV_ForceXIMReset
-
# OpenGL
@ cdecl wglCopyContext(long long long) X11DRV_wglCopyContext
@ cdecl wglCreateContext(ptr) X11DRV_wglCreateContext
diff --git a/dlls/winex11.drv/x11drv.h b/dlls/winex11.drv/x11drv.h
index 834f890..9bae5ea 100644
--- a/dlls/winex11.drv/x11drv.h
+++ b/dlls/winex11.drv/x11drv.h
@@ -771,11 +771,11 @@ LPDDHALMODEINFO X11DRV_Settings_SetHandlers(const char *name,
extern void X11DRV_DDHAL_SwitchMode(DWORD dwModeIndex, LPVOID fb_addr, LPVIDMEM fb_mem);
/* XIM support */
-extern BOOL X11DRV_InitXIM( const char *input_style );
-extern XIC X11DRV_CreateIC(XIM xim, struct x11drv_win_data *data);
-extern void X11DRV_SetupXIM(void);
-extern void X11DRV_XIMLookupChars( const char *str, DWORD count );
-extern void X11DRV_ForceXIMReset(HWND hwnd);
+extern BOOL X11DRV_InitXIM( const char *input_style ) DECLSPEC_HIDDEN;
+extern XIC X11DRV_CreateIC(XIM xim, struct x11drv_win_data *data) DECLSPEC_HIDDEN;
+extern void X11DRV_SetupXIM(void) DECLSPEC_HIDDEN;
+extern void X11DRV_XIMLookupChars( const char *str, DWORD count ) DECLSPEC_HIDDEN;
+extern void X11DRV_ForceXIMReset(HWND hwnd) DECLSPEC_HIDDEN;
/* FIXME: private functions imported from user32 */
extern LRESULT HOOK_CallHooks( INT id, INT code, WPARAM wparam, LPARAM lparam, BOOL unicode );
--
1.5.6.5
--------------080405090608090700020805--
More information about the wine-patches
mailing list