diff options
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/mingw/ChangeLog | 10 | ||||
-rw-r--r-- | winsup/mingw/include/stdlib.h | 4 |
2 files changed, 14 insertions, 0 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 69561cf76..7d3eb7c62 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -19,6 +19,16 @@ * include/tchar.h (_TCHAR): Add typedefs. +2002-01-16 Danny Smith <dannysmith@users.sourceforge.net> + + * include/stdlib.h (_onexit_t): Add typedef. + (_onexit): Add prototype. + +2002-01-12 Danny Smith <dannysmith@users.sourceforge.net> + + * msvcrt.def: Revert accidental change. + * include/stdlib.h: Ditto. + 2001-12-07 Earnie Boyd <earnie@users.sf.net> * Makefile.in: Increment VERSION. diff --git a/winsup/mingw/include/stdlib.h b/winsup/mingw/include/stdlib.h index 5be239bbd..153e6483c 100644 --- a/winsup/mingw/include/stdlib.h +++ b/winsup/mingw/include/stdlib.h @@ -349,6 +349,10 @@ void _sleep (unsigned long); void _exit (int) _ATTRIB_NORETURN; +/* _onexit is MS extension. Use atexit for portability. */ +typedef int (* _onexit_t)(void); +_onexit_t _onexit( _onexit_t ); + int _putenv (const char*); void _searchenv (const char*, const char*, char*); |