projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix missing include in posix_madvise.c (compile error)
[musl]
/
src
/
exit
/
exit.c
diff --git
a/src/exit/exit.c
b/src/exit/exit.c
index
d0c1bfc
..
bfdb392
100644
(file)
--- a/
src/exit/exit.c
+++ b/
src/exit/exit.c
@@
-17,7
+17,7
@@
void exit(int code)
/* Only do atexit & stdio flush if they were actually used */
if (__funcs_on_exit) __funcs_on_exit();
/* Only do atexit & stdio flush if they were actually used */
if (__funcs_on_exit) __funcs_on_exit();
- if (__fflush_on_exit) __fflush_on_exit(0);
+ if (__fflush_on_exit) __fflush_on_exit(
(void *)
0);
/* Destructor s**t is kept separate from atexit to avoid bloat */
if (libc.fini) libc.fini();
/* Destructor s**t is kept separate from atexit to avoid bloat */
if (libc.fini) libc.fini();