Commit d597d049 authored by Alexandre Julliard's avatar Alexandre Julliard

include: Remove DECLSPEC_HIDDEN from winecrt0 functions.

parent a02ff4b5
......@@ -29,9 +29,9 @@
#include "windef.h"
#include "winbase.h"
extern void __wine_init_so_dll(void) DECLSPEC_HIDDEN;
extern void __wine_init_so_dll(void);
BOOL WINAPI DECLSPEC_HIDDEN __wine_spec_dll_entry( HINSTANCE inst, DWORD reason, LPVOID reserved )
BOOL WINAPI __wine_spec_dll_entry( HINSTANCE inst, DWORD reason, LPVOID reserved )
{
if (reason == DLL_PROCESS_ATTACH) __wine_init_so_dll();
return DllMain( inst, reason, reserved );
......
......@@ -28,7 +28,7 @@
extern WORD WINAPI WinMain16( HINSTANCE16 inst, HINSTANCE16 prev, LPSTR cmdline, WORD show );
void WINAPI DECLSPEC_HIDDEN __wine_spec_exe16_entry( CONTEXT *context )
void WINAPI __wine_spec_exe16_entry( CONTEXT *context )
{
PDB16 *psp;
WORD len;
......
......@@ -31,7 +31,7 @@
#include "winternl.h"
extern int main( int argc, char *argv[] );
extern void __wine_init_so_dll(void) DECLSPEC_HIDDEN;
extern void __wine_init_so_dll(void);
static char **build_argv( const char *src, int *ret_argc )
{
......@@ -96,7 +96,7 @@ static char **build_argv( const char *src, int *ret_argc )
return argv;
}
DWORD WINAPI DECLSPEC_HIDDEN __wine_spec_exe_entry( PEB *peb )
DWORD WINAPI __wine_spec_exe_entry( PEB *peb )
{
int argc;
char **argv = build_argv( GetCommandLineA(), &argc );
......
......@@ -31,7 +31,7 @@
#include "winternl.h"
extern int wmain( int argc, WCHAR *argv[] );
extern void __wine_init_so_dll(void) DECLSPEC_HIDDEN;
extern void __wine_init_so_dll(void);
static WCHAR **build_argv( const WCHAR *src, int *ret_argc )
{
......@@ -96,7 +96,7 @@ static WCHAR **build_argv( const WCHAR *src, int *ret_argc )
return argv;
}
DWORD WINAPI DECLSPEC_HIDDEN __wine_spec_exe_wentry( PEB *peb )
DWORD WINAPI __wine_spec_exe_wentry( PEB *peb )
{
int argc;
WCHAR **argv = build_argv( GetCommandLineW(), &argc );
......
......@@ -23,7 +23,7 @@
#include "winbase.h"
#include "wine/exception.h"
void DECLSPEC_HIDDEN __cdecl __wine_spec_unimplemented_stub( const char *module, const char *function )
void __cdecl __wine_spec_unimplemented_stub( const char *module, const char *function )
{
ULONG_PTR args[2];
......
......@@ -191,8 +191,8 @@ RPCRTAPI HRESULT RPC_ENTRY
RPCRTAPI HRESULT RPC_ENTRY
NdrDllUnregisterProxy( HMODULE hDll, const ProxyFileInfo **pProxyFileList, const CLSID *pclsid );
HRESULT __cdecl __wine_register_resources(void) DECLSPEC_HIDDEN;
HRESULT __cdecl __wine_unregister_resources(void) DECLSPEC_HIDDEN;
HRESULT __cdecl __wine_register_resources(void);
HRESULT __cdecl __wine_unregister_resources(void);
#define CSTDSTUBBUFFERRELEASE(pFactory) \
ULONG WINAPI CStdStubBuffer_Release(IRpcStubBuffer *This) \
......
......@@ -109,34 +109,34 @@ typedef struct { int reg; } __wine_jmp_buf;
#endif
extern int __cdecl __attribute__ ((__nothrow__,__returns_twice__)) __wine_setjmpex( __wine_jmp_buf *buf,
EXCEPTION_REGISTRATION_RECORD *frame ) DECLSPEC_HIDDEN;
extern void DECLSPEC_NORETURN __cdecl __wine_longjmp( __wine_jmp_buf *buf, int retval ) DECLSPEC_HIDDEN;
EXCEPTION_REGISTRATION_RECORD *frame );
extern void DECLSPEC_NORETURN __cdecl __wine_longjmp( __wine_jmp_buf *buf, int retval );
extern void DECLSPEC_NORETURN __cdecl __wine_rtl_unwind( EXCEPTION_REGISTRATION_RECORD* frame, EXCEPTION_RECORD *record,
void (*target)(void) ) DECLSPEC_HIDDEN;
void (*target)(void) );
extern DWORD __cdecl __wine_exception_handler( EXCEPTION_RECORD *record,
EXCEPTION_REGISTRATION_RECORD *frame,
CONTEXT *context,
EXCEPTION_REGISTRATION_RECORD **pdispatcher ) DECLSPEC_HIDDEN;
EXCEPTION_REGISTRATION_RECORD **pdispatcher );
extern DWORD __cdecl __wine_exception_ctx_handler( EXCEPTION_RECORD *record,
EXCEPTION_REGISTRATION_RECORD *frame,
CONTEXT *context,
EXCEPTION_REGISTRATION_RECORD **pdispatcher ) DECLSPEC_HIDDEN;
EXCEPTION_REGISTRATION_RECORD **pdispatcher );
extern DWORD __cdecl __wine_exception_handler_page_fault( EXCEPTION_RECORD *record,
EXCEPTION_REGISTRATION_RECORD *frame,
CONTEXT *context,
EXCEPTION_REGISTRATION_RECORD **pdispatcher ) DECLSPEC_HIDDEN;
EXCEPTION_REGISTRATION_RECORD **pdispatcher );
extern DWORD __cdecl __wine_exception_handler_all( EXCEPTION_RECORD *record,
EXCEPTION_REGISTRATION_RECORD *frame,
CONTEXT *context,
EXCEPTION_REGISTRATION_RECORD **pdispatcher ) DECLSPEC_HIDDEN;
EXCEPTION_REGISTRATION_RECORD **pdispatcher );
extern DWORD __cdecl __wine_finally_handler( EXCEPTION_RECORD *record,
EXCEPTION_REGISTRATION_RECORD *frame,
CONTEXT *context,
EXCEPTION_REGISTRATION_RECORD **pdispatcher ) DECLSPEC_HIDDEN;
EXCEPTION_REGISTRATION_RECORD **pdispatcher );
extern DWORD __cdecl __wine_finally_ctx_handler( EXCEPTION_RECORD *record,
EXCEPTION_REGISTRATION_RECORD *frame,
CONTEXT *context,
EXCEPTION_REGISTRATION_RECORD **pdispatcher ) DECLSPEC_HIDDEN;
EXCEPTION_REGISTRATION_RECORD **pdispatcher );
#define __TRY \
do { __WINE_FRAME __f; \
......
......@@ -271,9 +271,9 @@ static inline ULONG ntdll_wcstoul( const WCHAR *s, WCHAR **end, int base )
#else /* WINE_UNIX_LIB */
NTSYSAPI NTSTATUS WINAPI __wine_unix_call( unixlib_handle_t handle, unsigned int code, void *args );
extern unixlib_handle_t __wine_unixlib_handle DECLSPEC_HIDDEN;
extern NTSTATUS (WINAPI *__wine_unix_call_dispatcher)( unixlib_handle_t, unsigned int, void * ) DECLSPEC_HIDDEN;
extern NTSTATUS WINAPI __wine_init_unix_call(void) DECLSPEC_HIDDEN;
extern unixlib_handle_t __wine_unixlib_handle;
extern NTSTATUS (WINAPI *__wine_unix_call_dispatcher)( unixlib_handle_t, unsigned int, void * );
extern NTSTATUS WINAPI __wine_init_unix_call(void);
#define WINE_UNIX_CALL(code,args) __wine_unix_call_dispatcher( __wine_unixlib_handle, (code), (args) )
......
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