The MinGW.org Windows System Libraries
Revision | fbb8abff03832badefffe114774a00cb5674d6e5 (tree) |
---|---|
Time | 2012-08-04 03:58:26 |
Author | Earnie Boyd <earnie@user...> |
Commiter | Earnie Boyd |
Add missing function prototypes per issue [#1305].
@@ -1,3 +1,12 @@ | ||
1 | +2012-08-02 Ivan Maidanski <ivmai@users.sourceforge.net> | |
2 | + | |
3 | + Add missing function prototypes per issue [#1305]. | |
4 | + | |
5 | + * include/process.h [#ifndef _WPROCESS_DEFINED] | |
6 | + (_wexecl, _wexecle, _wexeclp, _wexeclpe, _wexecv, _wexecve) | |
7 | + (_wexecvp, _wexecvpe, _wspawnl, _wspawnle, _wspawnlp, _wspawnlpe) | |
8 | + (_wspawnv, _wspawnve, _wspawnvp, _wspawnvpe): Declare them. | |
9 | + | |
1 | 10 | 2012-08-02 Earnie Boyd <earnie@users.sourceforge.net> |
2 | 11 | |
3 | 12 | Add function prototype declarations per issue [#1293]. |
@@ -79,6 +79,28 @@ _CRTIMP intptr_t __cdecl __MINGW_NOTHROW _spawnve (int, const char*, const char* | ||
79 | 79 | _CRTIMP intptr_t __cdecl __MINGW_NOTHROW _spawnvp (int, const char*, const char* const*); |
80 | 80 | _CRTIMP intptr_t __cdecl __MINGW_NOTHROW _spawnvpe (int, const char*, const char* const*, const char* const*); |
81 | 81 | |
82 | +#ifndef _WPROCESS_DEFINED | |
83 | +/* Also in wchar.h - keep in sync */ | |
84 | +_CRTIMP intptr_t __cdecl __MINGW_NOTHROW _wexecl (const wchar_t*, const wchar_t*, ...); | |
85 | +_CRTIMP intptr_t __cdecl __MINGW_NOTHROW _wexecle (const wchar_t*, const wchar_t*, ...); | |
86 | +_CRTIMP intptr_t __cdecl __MINGW_NOTHROW _wexeclp (const wchar_t*, const wchar_t*, ...); | |
87 | +_CRTIMP intptr_t __cdecl __MINGW_NOTHROW _wexeclpe (const wchar_t*, const wchar_t*, ...); | |
88 | +_CRTIMP intptr_t __cdecl __MINGW_NOTHROW _wexecv (const wchar_t*, const wchar_t* const*); | |
89 | +_CRTIMP intptr_t __cdecl __MINGW_NOTHROW _wexecve (const wchar_t*, const wchar_t* const*, const wchar_t* const*); | |
90 | +_CRTIMP intptr_t __cdecl __MINGW_NOTHROW _wexecvp (const wchar_t*, const wchar_t* const*); | |
91 | +_CRTIMP intptr_t __cdecl __MINGW_NOTHROW _wexecvpe (const wchar_t*, const wchar_t* const*, const wchar_t* const*); | |
92 | + | |
93 | +_CRTIMP intptr_t __cdecl __MINGW_NOTHROW _wspawnl (int, const wchar_t*, const wchar_t*, ...); | |
94 | +_CRTIMP intptr_t __cdecl __MINGW_NOTHROW _wspawnle (int, const wchar_t*, const wchar_t*, ...); | |
95 | +_CRTIMP intptr_t __cdecl __MINGW_NOTHROW _wspawnlp (int, const wchar_t*, const wchar_t*, ...); | |
96 | +_CRTIMP intptr_t __cdecl __MINGW_NOTHROW _wspawnlpe (int, const wchar_t*, const wchar_t*, ...); | |
97 | +_CRTIMP intptr_t __cdecl __MINGW_NOTHROW _wspawnv (int, const wchar_t*, const wchar_t* const*); | |
98 | +_CRTIMP intptr_t __cdecl __MINGW_NOTHROW _wspawnve (int, const wchar_t*, const wchar_t* const*, const wchar_t* const*); | |
99 | +_CRTIMP intptr_t __cdecl __MINGW_NOTHROW _wspawnvp (int, const wchar_t*, const wchar_t* const*); | |
100 | +_CRTIMP intptr_t __cdecl __MINGW_NOTHROW _wspawnvpe (int, const wchar_t*, const wchar_t* const*, const wchar_t* const*); | |
101 | + | |
102 | +#define _WPROCESS_DEFINED | |
103 | +#endif | |
82 | 104 | |
83 | 105 | /* |
84 | 106 | * The functions _beginthreadex and _endthreadex are not provided by CRTDLL. |