Blame include/assert.h

Packit 6c4009
#include <assert/assert.h>
Packit 6c4009
Packit 6c4009
#ifndef _ISOMAC
Packit 6c4009
/* This prints an "Assertion failed" message and aborts.
Packit 6c4009
   In installed assert.h this is only conditionally declared,
Packit 6c4009
   so it has to be repeated here.  */
Packit 6c4009
extern void __assert_fail (const char *__assertion, const char *__file,
Packit 6c4009
			   unsigned int __line, const char *__function)
Packit 6c4009
     __THROW __attribute__ ((__noreturn__));
Packit 6c4009
Packit 6c4009
/* Likewise, but prints the error text for ERRNUM.  */
Packit 6c4009
extern void __assert_perror_fail (int __errnum, const char *__file,
Packit 6c4009
				  unsigned int __line,
Packit 6c4009
				  const char *__function)
Packit 6c4009
     __THROW __attribute__ ((__noreturn__));
Packit 6c4009
Packit 6c4009
/* The real implementation of the two functions above.  */
Packit 6c4009
extern void __assert_fail_base (const char *fmt, const char *assertion,
Packit 6c4009
				const char *file, unsigned int line,
Packit 6c4009
				const char *function)
Packit 6c4009
     __THROW  __attribute__ ((__noreturn__)) attribute_hidden;
Packit 6c4009
Packit 6c4009
# if IS_IN (libc) || (IS_IN (rtld) && !defined NO_RTLD_HIDDEN)
Packit 6c4009
hidden_proto (__assert_fail)
Packit 6c4009
hidden_proto (__assert_perror_fail)
Packit 6c4009
# endif
Packit 6c4009
#endif