aboutsummaryrefslogtreecommitdiff
path: root/include/stdlib.h
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2011-12-26 18:55:37 +0000
committerEd Schouten <ed@FreeBSD.org>2011-12-26 18:55:37 +0000
commitb1214a51cce95eaf8eeaa78463cd46cf95536903 (patch)
tree7bb60715eb9e18769ee44032c137b1c1078c5a20 /include/stdlib.h
parent489818ac07fabf5a93248ede80262375c023da66 (diff)
downloadsrc-b1214a51cce95eaf8eeaa78463cd46cf95536903.tar.gz
src-b1214a51cce95eaf8eeaa78463cd46cf95536903.zip
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.
Notes
Notes: svn path=/head/; revision=228901
Diffstat (limited to 'include/stdlib.h')
-rw-r--r--include/stdlib.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 58362dd7a99d..e5975f5cf065 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