diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2007-06-23 11:34:16 +0400 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2007-06-23 11:34:16 +0400 |
commit | 25b4cace7454db1a95a7072764ab186570217023 (patch) | |
tree | 25240aff14679d41bbfb06a092b61fa800be9e5f /winsup/mingw/include/process.h | |
parent | 155911241cdbe9879f622e71d67a0c35f6410094 (diff) |
*include/assert.h: Qualify all functions with __MINGW_NOTHROW.
*include/conio.h: Likewise.
*include/ctype.h: Likewise.
*include/direct.h: Likewise.
*include/dos.h: Likewise.
*include/errno.h: Likewise.
*include/fenv.h: Likewise.
*include/float.h: Likewise.
*include/inttypes.h: Likewise.
*include/io.h: Likewise.
*include/libgen.h: Likewise.
*include/locale.h: Likewise.
*include/malloc.h: Likewise.
*include/mbctype.h: Likewise.
*include/mbstring.h: Likewise.
*include/process.h: Likewise.
*include/search.h: Likewise.
*include/setjmp.h: Likewise.
*include/signal.h: Likewise.
*include/stdio.h: Likewise.
*include/stdlib.h: Likewise.
*include/string.h: Likewise.
*include/time.h: Likewise.
*include/wchar.h: Likewise.
*include/sys/stat.h: Likewise.
*include/sys/time.h: Likewise.
*include/sys/timeb.h: Likewise.
*include/sys/utime.h: Likewise.
Diffstat (limited to 'winsup/mingw/include/process.h')
-rw-r--r-- | winsup/mingw/include/process.h | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/winsup/mingw/include/process.h b/winsup/mingw/include/process.h index bdc2f0c59..5af1fcc9a 100644 --- a/winsup/mingw/include/process.h +++ b/winsup/mingw/include/process.h @@ -55,30 +55,30 @@ extern "C" { #endif -_CRTIMP void __cdecl _cexit(void); -_CRTIMP void __cdecl _c_exit(void); +_CRTIMP void __cdecl __MINGW_NOTHROW _cexit(void); +_CRTIMP void __cdecl __MINGW_NOTHROW _c_exit(void); -_CRTIMP int __cdecl _cwait (int*, _pid_t, int); +_CRTIMP int __cdecl __MINGW_NOTHROW _cwait (int*, _pid_t, int); -_CRTIMP _pid_t __cdecl _getpid(void); +_CRTIMP _pid_t __cdecl __MINGW_NOTHROW _getpid(void); -_CRTIMP int __cdecl _execl (const char*, const char*, ...); -_CRTIMP int __cdecl _execle (const char*, const char*, ...); -_CRTIMP int __cdecl _execlp (const char*, const char*, ...); -_CRTIMP int __cdecl _execlpe (const char*, const char*, ...); -_CRTIMP int __cdecl _execv (const char*, const char* const*); -_CRTIMP int __cdecl _execve (const char*, const char* const*, const char* const*); -_CRTIMP int __cdecl _execvp (const char*, const char* const*); -_CRTIMP int __cdecl _execvpe (const char*, const char* const*, const char* const*); +_CRTIMP int __cdecl __MINGW_NOTHROW _execl (const char*, const char*, ...); +_CRTIMP int __cdecl __MINGW_NOTHROW _execle (const char*, const char*, ...); +_CRTIMP int __cdecl __MINGW_NOTHROW _execlp (const char*, const char*, ...); +_CRTIMP int __cdecl __MINGW_NOTHROW _execlpe (const char*, const char*, ...); +_CRTIMP int __cdecl __MINGW_NOTHROW _execv (const char*, const char* const*); +_CRTIMP int __cdecl __MINGW_NOTHROW _execve (const char*, const char* const*, const char* const*); +_CRTIMP int __cdecl __MINGW_NOTHROW _execvp (const char*, const char* const*); +_CRTIMP int __cdecl __MINGW_NOTHROW _execvpe (const char*, const char* const*, const char* const*); -_CRTIMP int __cdecl _spawnl (int, const char*, const char*, ...); -_CRTIMP int __cdecl _spawnle (int, const char*, const char*, ...); -_CRTIMP int __cdecl _spawnlp (int, const char*, const char*, ...); -_CRTIMP int __cdecl _spawnlpe (int, const char*, const char*, ...); -_CRTIMP int __cdecl _spawnv (int, const char*, const char* const*); -_CRTIMP int __cdecl _spawnve (int, const char*, const char* const*, const char* const*); -_CRTIMP int __cdecl _spawnvp (int, const char*, const char* const*); -_CRTIMP int __cdecl _spawnvpe (int, const char*, const char* const*, const char* const*); +_CRTIMP int __cdecl __MINGW_NOTHROW _spawnl (int, const char*, const char*, ...); +_CRTIMP int __cdecl __MINGW_NOTHROW _spawnle (int, const char*, const char*, ...); +_CRTIMP int __cdecl __MINGW_NOTHROW _spawnlp (int, const char*, const char*, ...); +_CRTIMP int __cdecl __MINGW_NOTHROW _spawnlpe (int, const char*, const char*, ...); +_CRTIMP int __cdecl __MINGW_NOTHROW _spawnv (int, const char*, const char* const*); +_CRTIMP int __cdecl __MINGW_NOTHROW _spawnve (int, const char*, const char* const*, const char* const*); +_CRTIMP int __cdecl __MINGW_NOTHROW _spawnvp (int, const char*, const char* const*); +_CRTIMP int __cdecl __MINGW_NOTHROW _spawnvpe (int, const char*, const char* const*, const char* const*); /* @@ -92,15 +92,15 @@ _CRTIMP int __cdecl _spawnvpe (int, const char*, const char* const*, const char* * * NOTE: No old names for these functions. Use the underscore. */ -_CRTIMP unsigned long __cdecl +_CRTIMP unsigned long __cdecl __MINGW_NOTHROW _beginthread (void (*)(void *), unsigned, void*); -_CRTIMP void __cdecl _endthread (void); +_CRTIMP void __cdecl __MINGW_NOTHROW _endthread (void); #ifdef __MSVCRT__ -_CRTIMP unsigned long __cdecl +_CRTIMP unsigned long __cdecl __MINGW_NOTHROW _beginthreadex (void *, unsigned, unsigned (__stdcall *) (void *), void*, unsigned, unsigned*); -_CRTIMP void __cdecl _endthreadex (unsigned); +_CRTIMP void __cdecl __MINGW_NOTHROW _endthreadex (unsigned); #endif @@ -109,24 +109,24 @@ _CRTIMP void __cdecl _endthreadex (unsigned); * Functions without the leading underscore, for portability. These functions * live in liboldnames.a. */ -_CRTIMP int __cdecl cwait (int*, pid_t, int); -_CRTIMP pid_t __cdecl getpid (void); -_CRTIMP int __cdecl execl (const char*, const char*, ...); -_CRTIMP int __cdecl execle (const char*, const char*, ...); -_CRTIMP int __cdecl execlp (const char*, const char*, ...); -_CRTIMP int __cdecl execlpe (const char*, const char*, ...); -_CRTIMP int __cdecl execv (const char*, const char* const*); -_CRTIMP int __cdecl execve (const char*, const char* const*, const char* const*); -_CRTIMP int __cdecl execvp (const char*, const char* const*); -_CRTIMP int __cdecl execvpe (const char*, const char* const*, const char* const*); -_CRTIMP int __cdecl spawnl (int, const char*, const char*, ...); -_CRTIMP int __cdecl spawnle (int, const char*, const char*, ...); -_CRTIMP int __cdecl spawnlp (int, const char*, const char*, ...); -_CRTIMP int __cdecl spawnlpe (int, const char*, const char*, ...); -_CRTIMP int __cdecl spawnv (int, const char*, const char* const*); -_CRTIMP int __cdecl spawnve (int, const char*, const char* const*, const char* const*); -_CRTIMP int __cdecl spawnvp (int, const char*, const char* const*); -_CRTIMP int __cdecl spawnvpe (int, const char*, const char* const*, const char* const*); +_CRTIMP int __cdecl __MINGW_NOTHROW cwait (int*, pid_t, int); +_CRTIMP pid_t __cdecl __MINGW_NOTHROW getpid (void); +_CRTIMP int __cdecl __MINGW_NOTHROW execl (const char*, const char*, ...); +_CRTIMP int __cdecl __MINGW_NOTHROW execle (const char*, const char*, ...); +_CRTIMP int __cdecl __MINGW_NOTHROW execlp (const char*, const char*, ...); +_CRTIMP int __cdecl __MINGW_NOTHROW execlpe (const char*, const char*, ...); +_CRTIMP int __cdecl __MINGW_NOTHROW execv (const char*, const char* const*); +_CRTIMP int __cdecl __MINGW_NOTHROW execve (const char*, const char* const*, const char* const*); +_CRTIMP int __cdecl __MINGW_NOTHROW execvp (const char*, const char* const*); +_CRTIMP int __cdecl __MINGW_NOTHROW execvpe (const char*, const char* const*, const char* const*); +_CRTIMP int __cdecl __MINGW_NOTHROW spawnl (int, const char*, const char*, ...); +_CRTIMP int __cdecl __MINGW_NOTHROW spawnle (int, const char*, const char*, ...); +_CRTIMP int __cdecl __MINGW_NOTHROW spawnlp (int, const char*, const char*, ...); +_CRTIMP int __cdecl __MINGW_NOTHROW spawnlpe (int, const char*, const char*, ...); +_CRTIMP int __cdecl __MINGW_NOTHROW spawnv (int, const char*, const char* const*); +_CRTIMP int __cdecl __MINGW_NOTHROW spawnve (int, const char*, const char* const*, const char* const*); +_CRTIMP int __cdecl __MINGW_NOTHROW spawnvp (int, const char*, const char* const*); +_CRTIMP int __cdecl __MINGW_NOTHROW spawnvpe (int, const char*, const char* const*, const char* const*); #endif /* Not _NO_OLDNAMES */ #ifdef __cplusplus |