Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d597d049
Commit
d597d049
authored
Nov 08, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Remove DECLSPEC_HIDDEN from winecrt0 functions.
parent
a02ff4b5
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
22 additions
and
22 deletions
+22
-22
dll_entry.c
dlls/winecrt0/dll_entry.c
+2
-2
exe16_entry.c
dlls/winecrt0/exe16_entry.c
+1
-1
exe_entry.c
dlls/winecrt0/exe_entry.c
+2
-2
exe_wentry.c
dlls/winecrt0/exe_wentry.c
+2
-2
stub.c
dlls/winecrt0/stub.c
+1
-1
rpcproxy.h
include/rpcproxy.h
+2
-2
exception.h
include/wine/exception.h
+9
-9
unixlib.h
include/wine/unixlib.h
+3
-3
No files found.
dlls/winecrt0/dll_entry.c
View file @
d597d049
...
...
@@ -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
);
...
...
dlls/winecrt0/exe16_entry.c
View file @
d597d049
...
...
@@ -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
;
...
...
dlls/winecrt0/exe_entry.c
View file @
d597d049
...
...
@@ -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
);
...
...
dlls/winecrt0/exe_wentry.c
View file @
d597d049
...
...
@@ -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
);
...
...
dlls/winecrt0/stub.c
View file @
d597d049
...
...
@@ -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
];
...
...
include/rpcproxy.h
View file @
d597d049
...
...
@@ -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) \
...
...
include/wine/exception.h
View file @
d597d049
...
...
@@ -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; \
...
...
include/wine/unixlib.h
View file @
d597d049
...
...
@@ -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) )
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment