Help the compiler recognize unreachable code on 32-bit machines.
[glibc.git] / include / sys / cdefs.h
blobcd0750b4524de931614096a2eed6132fafb6562f
1 #ifndef _SYS_CDEFS_H
3 #include <misc/sys/cdefs.h>
5 /* The compiler will optimize based on the knowledge the parameter is
6 not NULL. This will omit tests. A robust implementation cannot allow
7 this so when compiling glibc itself we ignore this attribute. */
8 #undef __nonnull
9 #define __nonnull(params)
11 extern void __chk_fail (void) __attribute__ ((__noreturn__));
12 libc_hidden_proto (__chk_fail)
13 rtld_hidden_proto (__chk_fail)
15 #endif