msvcrt[1/3]: declare _initterm in msvcrt.h
Andrew Ziem
ahziem1 at mailbolt.com
Tue Jun 13 23:51:11 CDT 2006
---
dlls/msvcrt/data.c | 2 --
dlls/msvcrt/msvcrt.h | 4 ++++
2 files changed, 4 insertions(+), 2 deletions(-)
445ed77d33801de96d1c66e67d3c2be270fe3f23
diff --git a/dlls/msvcrt/data.c b/dlls/msvcrt/data.c
index 1c4b8a7..adad57b 100644
--- a/dlls/msvcrt/data.c
+++ b/dlls/msvcrt/data.c
@@ -130,8 +130,6 @@ MSVCRT_wchar_t ** msvcrt_SnapshotOfEnvir
return wblk;
}
-typedef void (*_INITTERMFUN)(void);
-
/***********************************************************************
* __p___argc (MSVCRT.@)
*/
diff --git a/dlls/msvcrt/msvcrt.h b/dlls/msvcrt/msvcrt.h
index fc330ce..6695d81 100644
--- a/dlls/msvcrt/msvcrt.h
+++ b/dlls/msvcrt/msvcrt.h
@@ -74,6 +74,8 @@ typedef void (*MSVCRT__beginthread_start
typedef unsigned int (__stdcall *MSVCRT__beginthreadex_start_routine_t)(void *);
typedef int (*MSVCRT__onexit_t)(void);
+typedef void (*_INITTERMFUN)(void);
+
struct MSVCRT_tm {
int tm_sec;
int tm_min;
@@ -128,6 +130,8 @@ extern MSVCRT_wchar_t **_wenviron;
extern char ** msvcrt_SnapshotOfEnvironmentA(char **);
extern MSVCRT_wchar_t ** msvcrt_SnapshotOfEnvironmentW(MSVCRT_wchar_t **);
+extern unsigned int CDECL _initterm(_INITTERMFUN *start,_INITTERMFUN *end);
+
/* FIXME: This should be declared in new.h but it's not an extern "C" so
* it would not be much use anyway. Even for Winelib applications.
*/
--
1.3.3
More information about the wine-patches
mailing list