diff options
Diffstat (limited to 'assert')
-rw-r--r-- | assert/assert.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/assert/assert.h b/assert/assert.h index 326183a272..b37583ca15 100644 --- a/assert/assert.h +++ b/assert/assert.h @@ -58,18 +58,15 @@ __BEGIN_DECLS /* This prints an "Assertion failed" message and aborts. */ -extern void __assert_fail __P ((__const char *__assertion, - __const char *__file, - unsigned int __line, - __const char *__function)) - __attribute__ ((__noreturn__)); +extern void __assert_fail (__const char *__assertion, __const char *__file, + unsigned int __line, __const char *__function) + __THROW __attribute__ ((__noreturn__)); /* Likewise, but prints the error text for ERRNUM. */ -extern void __assert_perror_fail __P ((int __errnum, - __const char *__file, - unsigned int __line, - __const char *__function)) - __attribute__ ((__noreturn__)); +extern void __assert_perror_fail (int __errnum, __const char *__file, + unsigned int __line, + __const char *__function) + __THROW __attribute__ ((__noreturn__)); __END_DECLS |