diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-10-14 08:39:35 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2015-10-19 15:09:17 +0300 |
commit | d67f71ab85b242362f59c0d853763a5e8620c6d5 (patch) | |
tree | 1dbe0c385dfcde54ddf25f5a8f6c5a245dca57bf /newlib/libc/stdlib/Makefile.am | |
parent | c98d01ee0cbc6eb7bbca8f2cde4a46b90ded3784 (diff) |
C11 quick_exit() support for <stdlib.h>
Import some <stdlib.h> function declarations from latest FreeBSD and
implement them. I am not sure if we should call the global reent
cleanup in quick_exit() similar to exit().
newlib/ChangeLog
2015-10-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libc/include/stdlib.h (at_quick_exit): Declare.
(quick_exit): Likewise.
* libc/stdlib/Makefile.am (GENERAL_SOURCES): Add
quick_exit.c.
* libc/stdlib/Makefile.in: Regenerate.
* libc/stdlib/quick_exit.c: New.
Diffstat (limited to 'newlib/libc/stdlib/Makefile.am')
-rw-r--r-- | newlib/libc/stdlib/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/stdlib/Makefile.am b/newlib/libc/stdlib/Makefile.am index c86010add..5c0e14290 100644 --- a/newlib/libc/stdlib/Makefile.am +++ b/newlib/libc/stdlib/Makefile.am @@ -45,6 +45,7 @@ GENERAL_SOURCES = \ mlock.c \ mprec.c \ mstats.c \ + quick_exit.c \ rand.c \ rand_r.c \ realloc.c \ |