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.
This commit is contained in:
parent
489818ac07
commit
b1214a51cc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228901
@ -151,11 +151,11 @@ _Noreturn void _Exit(int);
|
|||||||
/*
|
/*
|
||||||
* If we're in a mode greater than C99, expose C1x functions.
|
* If we're in a mode greater than C99, expose C1x functions.
|
||||||
*/
|
*/
|
||||||
#if __ISO_C_VISIBLE > 1999
|
#if __ISO_C_VISIBLE >= 2011
|
||||||
_Noreturn void quick_exit(int)
|
_Noreturn void
|
||||||
int
|
quick_exit(int);
|
||||||
at_quick_exit(void (*func)(void));
|
int at_quick_exit(void (*)(void));
|
||||||
#endif /* __ISO_C_VISIBLE > 1999 */
|
#endif /* __ISO_C_VISIBLE >= 2011 */
|
||||||
/*
|
/*
|
||||||
* Extensions made by POSIX relative to C. We don't know yet which edition
|
* 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
|
* of POSIX made these extensions, so assume they've always been there until
|
||||||
|
Loading…
Reference in New Issue
Block a user