xf.li | bfc6e71 | 2025-02-07 01:54:34 -0800 | [diff] [blame^] | 1 | #ifndef _SYS_CDEFS_H |
| 2 | |
| 3 | #include <misc/sys/cdefs.h> |
| 4 | |
| 5 | #ifndef _ISOMAC |
| 6 | /* The compiler will optimize based on the knowledge the parameter is |
| 7 | not NULL. This will omit tests. A robust implementation cannot allow |
| 8 | this so when compiling glibc itself we ignore this attribute. */ |
| 9 | # undef __nonnull |
| 10 | # define __nonnull(params) |
| 11 | |
| 12 | extern void __chk_fail (void) __attribute__ ((__noreturn__)); |
| 13 | libc_hidden_proto (__chk_fail) |
| 14 | rtld_hidden_proto (__chk_fail) |
| 15 | |
| 16 | #endif |
| 17 | |
| 18 | #endif |