projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a load of assumptions about default calling convention, a lot more remain.
[reactos.git]
/
reactos
/
lib
/
sdk
/
crt
/
startup
/
crtdll.c
diff --git
a/reactos/lib/sdk/crt/startup/crtdll.c
b/reactos/lib/sdk/crt/startup/crtdll.c
index
f046705
..
e52f240
100644
(file)
--- a/
reactos/lib/sdk/crt/startup/crtdll.c
+++ b/
reactos/lib/sdk/crt/startup/crtdll.c
@@
-54,11
+54,12
@@
extern WINBOOL WINAPI DllMain (HANDLE hDllHandle, DWORD dwReason, LPVOID lpreser
extern WINBOOL WINAPI DllEntryPoint (HANDLE, DWORD, LPVOID);
-static int pre_c_init (void);
+static int
__cdecl
pre_c_init (void);
_CRTALLOC(".CRT$XIAA") _PIFV pcinit = pre_c_init;
static int
+__cdecl
pre_c_init (void)
{
_PVFV *onexitbegin;