From 62cadb3ee674243d071bac229f2f7831b88d7af6 Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 26 Dec 2011 18:55:37 +0000 Subject: Improve C11 bits in : - Add missing semicolon to quick_exit(), - Remove `func' parameter name from at_quick_exit(), - Fix indentation. - Compare against 2011 value. --- include/stdlib.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/stdlib.h') 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 -- cgit v1.1