diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-10-09 21:56:43 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-10-09 21:56:43 +0000 |
commit | c1422e5b7cdb4400f934c91bcefa3a1a96d789fb (patch) | |
tree | 7f8981b86c4ce4b5bb899f690eeb03d6645826a5 /assert | |
parent | a4a1492eb94de4f5c5ec84a5898e994fca5f317b (diff) |
Update.
Patch by khendricks@ivey.uwo.ca [libc/1382].
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 |