Alexandre Julliard : krnl386: Mark function that are only called from assembly as hidden.

Alexandre Julliard julliard at winehq.org
Tue Jul 25 16:11:26 CDT 2017


Module: wine
Branch: master
Commit: 5b71091b434b3981559d18c433044d8d84d45496
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5b71091b434b3981559d18c433044d8d84d45496

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Jul 25 11:50:51 2017 +0200

krnl386: Mark function that are only called from assembly as hidden.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/krnl386.exe16/thunk.c | 2 +-
 dlls/krnl386.exe16/vxd.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/krnl386.exe16/thunk.c b/dlls/krnl386.exe16/thunk.c
index 9126125..c72da1c 100644
--- a/dlls/krnl386.exe16/thunk.c
+++ b/dlls/krnl386.exe16/thunk.c
@@ -2123,7 +2123,7 @@ LPVOID WINAPI GetPK16SysVar(void)
 /**********************************************************************
  *           CommonUnimpStub    (KERNEL32.17)
  */
-int WINAPI __regs_CommonUnimpStub( const char *name, int type )
+int WINAPI DECLSPEC_HIDDEN __regs_CommonUnimpStub( const char *name, int type )
 {
     FIXME("generic stub %s\n", debugstr_a(name));
 
diff --git a/dlls/krnl386.exe16/vxd.c b/dlls/krnl386.exe16/vxd.c
index 64983b4..6cb7d70 100644
--- a/dlls/krnl386.exe16/vxd.c
+++ b/dlls/krnl386.exe16/vxd.c
@@ -286,7 +286,7 @@ done:
  *		VxDCall7 (KERNEL32.8)
  *		VxDCall8 (KERNEL32.9)
  */
-void WINAPI __regs_VxDCall( DWORD service, CONTEXT *context )
+void WINAPI DECLSPEC_HIDDEN __regs_VxDCall( DWORD service, CONTEXT *context )
 {
     unsigned int i;
     VxDCallProc proc = NULL;




More information about the wine-cvs mailing list