2f62b9ee0c
Since we want to use this in installed headers, move it to the installed sys/cdefs.h. This requires a slight tweaking of the name (add trailing underscores). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
19 lines
466 B
C
19 lines
466 B
C
#ifndef _SYS_CDEFS_H
|
|
|
|
#include <misc/sys/cdefs.h>
|
|
|
|
#ifndef _ISOMAC
|
|
/* The compiler will optimize based on the knowledge the parameter is
|
|
not NULL. This will omit tests. A robust implementation cannot allow
|
|
this so when compiling glibc itself we ignore this attribute. */
|
|
# undef __nonnull
|
|
# define __nonnull(params)
|
|
|
|
extern void __chk_fail (void) __attribute__ ((__noreturn__));
|
|
libc_hidden_proto (__chk_fail)
|
|
rtld_hidden_proto (__chk_fail)
|
|
|
|
#endif
|
|
|
|
#endif
|