diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-05-10 23:10:52 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2007-05-10 23:10:52 +0000 |
commit | e169ea9b569d9e9a60bde4aebe960591bacaf4ef (patch) | |
tree | 8a14840e4fb4177c94d8e3f51e1b62cac56e6664 /include | |
parent | 6bad2cd171c7d81e9a43ccc79e91009438c948ac (diff) | |
download | glibc-e169ea9b569d9e9a60bde4aebe960591bacaf4ef.tar glibc-e169ea9b569d9e9a60bde4aebe960591bacaf4ef.tar.gz glibc-e169ea9b569d9e9a60bde4aebe960591bacaf4ef.tar.bz2 glibc-e169ea9b569d9e9a60bde4aebe960591bacaf4ef.zip |
Updated to fedora-glibc-20070510T2308cvs/fedora-glibc-2_5_90-24
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/cdefs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sys/cdefs.h b/include/sys/cdefs.h index 8ba980477d..cd0750b452 100644 --- a/include/sys/cdefs.h +++ b/include/sys/cdefs.h @@ -2,6 +2,12 @@ #include <misc/sys/cdefs.h> +/* 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) |