* include/process.h (_execv, _execvp, _spawnv, _spawnvp, _execve,

_execvpe, _spawnve, _spawnvpe, execv, execvp, spawnv, spawnvp,
	execve, execvpe, spawnve, spawnvpe): Const-ify all the char params.
This commit is contained in:
Danny Smith 2003-07-02 22:09:25 +00:00
parent 282eff9a6a
commit e298efab0a
2 changed files with 24 additions and 17 deletions

View File

@ -1,3 +1,9 @@
2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
* include/process.h (_execv, _execvp, _spawnv, _spawnvp, _execve,
_execvpe, _spawnve, _spawnvpe, execv, execvp, spawnv, spawnvp,
execve, execvpe, spawnve, spawnvpe): Const-ify all the char params.
2003-07-01 Earnie Boyd <earnie@users.sf.net>
* include/_mingw.h (small, hyper): Change to __small and __hyper to

View File

@ -81,22 +81,23 @@ _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 _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*, char* const*);
_CRTIMP int __cdecl _execve (const char*, char* const*, char* const*);
_CRTIMP int __cdecl _execvp (const char*, char* const*);
_CRTIMP int __cdecl _execvpe (const char*, char* const*, char* const*);
_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*, char* const*);
_CRTIMP int __cdecl _spawnve (int, const char*, char* const*, char* const*);
_CRTIMP int __cdecl _spawnvp (int, const char*, char* const*);
_CRTIMP int __cdecl _spawnvpe (int, const char*, char* const*, char* const*);
_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*);
/*
* The functions _beginthreadex and _endthreadex are not provided by CRTDLL.
@ -132,18 +133,18 @@ _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*, char* const*);
_CRTIMP int __cdecl execve (const char*, char* const*, char* const*);
_CRTIMP int __cdecl execvp (const char*, char* const*);
_CRTIMP int __cdecl execvpe (const char*, char* const*, char* const*);
_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*, char* const*);
_CRTIMP int __cdecl spawnve (int, const char*, char* const*, char* const*);
_CRTIMP int __cdecl spawnvp (int, const char*, char* const*);
_CRTIMP int __cdecl spawnvpe (int, const char*, char* const*, char* const*);
_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*);
#endif /* Not _NO_OLDNAMES */
#ifdef __cplusplus