From c1422e5b7cdb4400f934c91bcefa3a1a96d789fb Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 9 Oct 1999 21:56:43 +0000 Subject: Update. Patch by khendricks@ivey.uwo.ca [libc/1382]. --- assert/assert.h | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'assert/assert.h') diff --git a/assert/assert.h b/assert/assert.h index 326183a..b37583c 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 -- cgit v1.1