* sysdeps/pthread/sigaction.c: Use "" instead of <> to include self,
[glibc.git] / include / assert.h
blobb53313de8f68cd465a1e64a3243bb648dd2fe87d
1 #include <assert/assert.h>
3 /* This prints an "Assertion failed" message and aborts.
4 In installed assert.h this is only conditionally declared,
5 so it has to be repeated here. */
6 extern void __assert_fail (__const char *__assertion, __const char *__file,
7 unsigned int __line, __const char *__function)
8 __THROW __attribute__ ((__noreturn__));
10 /* Likewise, but prints the error text for ERRNUM. */
11 extern void __assert_perror_fail (int __errnum, __const char *__file,
12 unsigned int __line,
13 __const char *__function)
14 __THROW __attribute__ ((__noreturn__));
16 #if !defined NOT_IN_libc || defined IS_IN_rtld
17 hidden_proto (__assert_fail)
18 hidden_proto (__assert_perror_fail)
19 #endif