]>
Commit | Line | Data |
---|---|---|
b5cc329c UD |
1 | #ifndef _SYS_CDEFS_H |
2 | ||
28f540f4 | 3 | #include <misc/sys/cdefs.h> |
b5cc329c | 4 | |
31341567 | 5 | #ifndef _ISOMAC |
00afb11f UD |
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. */ | |
31341567 UD |
9 | # undef __nonnull |
10 | # define __nonnull(params) | |
00afb11f | 11 | |
b5cc329c UD |
12 | extern void __chk_fail (void) __attribute__ ((__noreturn__)); |
13 | libc_hidden_proto (__chk_fail) | |
14 | rtld_hidden_proto (__chk_fail) | |
15 | ||
ec09c1c4 | 16 | |
bc957d53 | 17 | # define __attribute_alloc_size(...) __attribute__ ((alloc_size (__VA_ARGS__))) |
ec09c1c4 UD |
18 | #endif |
19 | ||
b5cc329c | 20 | #endif |