Commit a02ff4b5 authored by Alexandre Julliard's avatar Alexandre Julliard

include: Remove DECLSPEC_HIDDEN from standard Dll* functions.

parent d4223b25
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
BOOL WINAPI DECLSPEC_HIDDEN DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved ) BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
{ {
if (reason == DLL_PROCESS_ATTACH) DisableThreadLibraryCalls( inst ); if (reason == DLL_PROCESS_ATTACH) DisableThreadLibraryCalls( inst );
return TRUE; return TRUE;
......
...@@ -420,8 +420,8 @@ WINOLE32API HRESULT WINAPI StringFromIID(REFIID riid, LPOLESTR*); ...@@ -420,8 +420,8 @@ WINOLE32API HRESULT WINAPI StringFromIID(REFIID riid, LPOLESTR*);
/***************************************************************************** /*****************************************************************************
* COM Server dll - exports * COM Server dll - exports
*/ */
HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID * ppv) DECLSPEC_HIDDEN; HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID * ppv);
HRESULT WINAPI DllCanUnloadNow(void) DECLSPEC_HIDDEN; HRESULT WINAPI DllCanUnloadNow(void);
/***************************************************************************** /*****************************************************************************
* Data Object * Data Object
......
...@@ -1089,7 +1089,7 @@ typedef HRESULT (CALLBACK *DLLGETVERSIONPROC)(DLLVERSIONINFO *); ...@@ -1089,7 +1089,7 @@ typedef HRESULT (CALLBACK *DLLGETVERSIONPROC)(DLLVERSIONINFO *);
#ifdef __WINESRC__ #ifdef __WINESRC__
/* shouldn't be here, but is nice for type checking */ /* shouldn't be here, but is nice for type checking */
HRESULT WINAPI DllGetVersion(DLLVERSIONINFO *) DECLSPEC_HIDDEN; HRESULT WINAPI DllGetVersion(DLLVERSIONINFO *);
#endif #endif
typedef struct _DLLVERSIONINFO2 { typedef struct _DLLVERSIONINFO2 {
...@@ -1106,7 +1106,7 @@ typedef struct _DLLVERSIONINFO2 { ...@@ -1106,7 +1106,7 @@ typedef struct _DLLVERSIONINFO2 {
#define MAKEDLLVERULL(mjr, mnr, bld, qfe) (((ULONGLONG)(mjr)<< 48)| \ #define MAKEDLLVERULL(mjr, mnr, bld, qfe) (((ULONGLONG)(mjr)<< 48)| \
((ULONGLONG)(mnr)<< 32) | ((ULONGLONG)(bld)<< 16) | (ULONGLONG)(qfe)) ((ULONGLONG)(mnr)<< 32) | ((ULONGLONG)(bld)<< 16) | (ULONGLONG)(qfe))
HRESULT WINAPI DllInstall(BOOL,LPCWSTR) DECLSPEC_HIDDEN; HRESULT WINAPI DllInstall(BOOL,LPCWSTR);
/* IsOS definitions */ /* IsOS definitions */
......
...@@ -3048,7 +3048,7 @@ int WINAPI wWinMain(HINSTANCE,HINSTANCE,LPWSTR,int); ...@@ -3048,7 +3048,7 @@ int WINAPI wWinMain(HINSTANCE,HINSTANCE,LPWSTR,int);
#ifdef __WINESRC__ #ifdef __WINESRC__
/* shouldn't be here, but is nice for type checking */ /* shouldn't be here, but is nice for type checking */
BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved ) DECLSPEC_HIDDEN; BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved );
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment