blob: 524fe57a25c8040d48b5b53e3143c081f4b8690d [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#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
12extern void __chk_fail (void) __attribute__ ((__noreturn__));
13libc_hidden_proto (__chk_fail)
14rtld_hidden_proto (__chk_fail)
15
16#endif
17
18#endif