summaryrefslogtreecommitdiffstats
path: root/include/stdlib.h
diff options
context:
space:
mode:
authortheraven <theraven@FreeBSD.org>2011-12-07 21:17:50 +0000
committertheraven <theraven@FreeBSD.org>2011-12-07 21:17:50 +0000
commitcac815ea0554d211072533625da9c9fa4ac5da7d (patch)
tree4e94fb0c71e04f4ade6f91012001261fb17c4827 /include/stdlib.h
parent6dd477b894442f73fdefb1839f590b35fc937b6c (diff)
downloadFreeBSD-src-cac815ea0554d211072533625da9c9fa4ac5da7d.zip
FreeBSD-src-cac815ea0554d211072533625da9c9fa4ac5da7d.tar.gz
As per das@'s suggestion, s/__noreturn/_Noreturn/, since the latter is an
identifier reserved for the implementation in C99 and earlier so there is no sensible reason for introducing yet another reserved identifier when we could just use the one C1x uses. Approved by: brooks (mentor)
Diffstat (limited to 'include/stdlib.h')
-rw-r--r--include/stdlib.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index d7e49d0..c19eef0 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -76,7 +76,7 @@ extern int __mb_cur_max;
extern int ___mb_cur_max(void);
#define MB_CUR_MAX (___mb_cur_max())
-__noreturn void abort(void);
+_Noreturn void abort(void);
int abs(int) __pure2;
int atexit(void (*)(void));
double atof(const char *);
@@ -86,7 +86,7 @@ void *bsearch(const void *, const void *, size_t,
size_t, int (*)(const void *, const void *));
void *calloc(size_t, size_t) __malloc_like;
div_t div(int, int) __pure2;
-__noreturn void exit(int);
+_Noreturn void exit(int);
void free(void *);
char *getenv(const char *);
long labs(long) __pure2;
@@ -145,14 +145,14 @@ unsigned long long
strtoull(const char * __restrict, char ** __restrict, int);
#endif /* __LONG_LONG_SUPPORTED */
-__noreturn void _Exit(int);
+_Noreturn void _Exit(int);
#endif /* __ISO_C_VISIBLE >= 1999 */
/*
* If we're in a mode greater than C99, expose C1x functions.
*/
#if __ISO_C_VISIBLE > 1999
-__noreturn void quick_exit(int)
+_Noreturn void quick_exit(int)
int
at_quick_exit(void (*func)(void));
#endif /* __ISO_C_VISIBLE > 1999 */
OpenPOWER on IntegriCloud