reduce some ridiculously large spin counts
[oweals/musl.git] / src / exit / exit.c
index d0c1bfc1d5b68a08873a367549ad09d4b310ea91..bfdb3923fc98b6f515d8cab5cf90dcba7de1b4f6 100644 (file)
@@ -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();
-       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();