]>
Commit | Line | Data |
---|---|---|
b5cc329c UD |
1 | #ifndef _SYS_CDEFS_H |
2 | ||
28f540f4 | 3 | #include <misc/sys/cdefs.h> |
b5cc329c | 4 | |
00afb11f UD |
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) | |
10 | ||
b5cc329c UD |
11 | extern void __chk_fail (void) __attribute__ ((__noreturn__)); |
12 | libc_hidden_proto (__chk_fail) | |
13 | rtld_hidden_proto (__chk_fail) | |
14 | ||
ec09c1c4 UD |
15 | |
16 | #if __GNUC_PREREQ (4,3) | |
17 | # define __attribute_alloc_size(...) __attribute__ ((alloc_size (__VA_ARGS__))) | |
18 | #else | |
19 | # define __attribute_alloc_size(...) | |
20 | #endif | |
21 | ||
b5cc329c | 22 | #endif |