diff options
author | Earnie Boyd <earnie@users.sf.net> | 2002-01-25 20:03:56 +0000 |
---|---|---|
committer | Earnie Boyd <earnie@users.sf.net> | 2002-01-25 20:03:56 +0000 |
commit | be4ee22bbc3fc6e89a3602d125265f62ba61f375 (patch) | |
tree | 90db3c83f135eb7aebd334fab64c90c303fc4ea0 /winsup/mingw | |
parent | d4b5d8fda2d99ca39ee147bff592c0f84a0249d5 (diff) | |
download | newlib-be4ee22bbc3fc6e89a3602d125265f62ba61f375.zip newlib-be4ee22bbc3fc6e89a3602d125265f62ba61f375.tar.gz newlib-be4ee22bbc3fc6e89a3602d125265f62ba61f375.tar.bz2 |
Merge MinGW changes
Diffstat (limited to 'winsup/mingw')
-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 69561cf..7d3eb7c 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 5be239b..153e648 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*); |