aboutsummaryrefslogtreecommitdiff
path: root/include/assert.h
blob: 780d7ae37313a7fbcb4e606b89a60120fb4c964a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <assert/assert.h>

/* This prints an "Assertion failed" message and aborts.
   In installed assert.h this is only conditionally declared,
   so it has to be repeated here.  */
extern void __assert_fail (__const char *__assertion, __const char *__file,
			   unsigned int __line, __const char *__function)
  __THROW __attribute__ ((__noreturn__));

#if !defined NOT_IN_libc || defined IS_IN_rtld
hidden_proto (__assert_fail)
#endif