diff options
author | ed <ed@FreeBSD.org> | 2011-12-26 18:55:37 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2011-12-26 18:55:37 +0000 |
commit | 62cadb3ee674243d071bac229f2f7831b88d7af6 (patch) | |
tree | 7bb60715eb9e18769ee44032c137b1c1078c5a20 | |
parent | 2a66f8ebd5ef32ed65a78d4cf3cab19df9d2fd6d (diff) | |
download | FreeBSD-src-62cadb3ee674243d071bac229f2f7831b88d7af6.zip FreeBSD-src-62cadb3ee674243d071bac229f2f7831b88d7af6.tar.gz |
Improve C11 bits in <stdlib.h>:
- Add missing semicolon to quick_exit(),
- Remove `func' parameter name from at_quick_exit(),
- Fix indentation.
- Compare against 2011 value.
-rw-r--r-- | include/stdlib.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index 58362dd..e5975f5 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -151,11 +151,11 @@ _Noreturn void _Exit(int); /* * If we're in a mode greater than C99, expose C1x functions. */ -#if __ISO_C_VISIBLE > 1999 -_Noreturn void quick_exit(int) -int -at_quick_exit(void (*func)(void)); -#endif /* __ISO_C_VISIBLE > 1999 */ +#if __ISO_C_VISIBLE >= 2011 +_Noreturn void + quick_exit(int); +int at_quick_exit(void (*)(void)); +#endif /* __ISO_C_VISIBLE >= 2011 */ /* * Extensions made by POSIX relative to C. We don't know yet which edition * of POSIX made these extensions, so assume they've always been there until |