diff options
author | Jakub Jelinek <jakub@redhat.com> | 2005-04-01 15:13:31 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2005-04-01 15:13:31 +0000 |
commit | e8eaba2b25948c0e60f70c33c5c52aad70bbf5fc (patch) | |
tree | 020566c0ffd2d27131ee7bac45eea5560a4732bd /debug | |
parent | e3166b6660ce5f0640242a4806a380bb651a2291 (diff) | |
download | glibc-e8eaba2b25948c0e60f70c33c5c52aad70bbf5fc.tar glibc-e8eaba2b25948c0e60f70c33c5c52aad70bbf5fc.tar.gz glibc-e8eaba2b25948c0e60f70c33c5c52aad70bbf5fc.tar.bz2 glibc-e8eaba2b25948c0e60f70c33c5c52aad70bbf5fc.zip |
Updated to fedora-glibc-20050401T1444
Diffstat (limited to 'debug')
-rw-r--r-- | debug/warning-nop.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debug/warning-nop.c b/debug/warning-nop.c index b4ebbac4dd..8f2f66e16a 100644 --- a/debug/warning-nop.c +++ b/debug/warning-nop.c @@ -37,4 +37,17 @@ nop (void) /* Following here we need an #include for each public header file that uses __warndecl. */ +/* Define away to avoid warnings with compilers that do not have these + builtins. */ +#define __builtin___memcpy_chk(dest, src, len, bos) NULL +#define __builtin___memmove_chk(dest, src, len, bos) NULL +#define __builtin___mempcpy_chk(dest, src, len, bos) NULL +#define __builtin___memset_chk(dest, ch, len, bos) NULL +#define __builtin___stpcpy_chk(dest, src, bos) NULL +#define __builtin___strcat_chk(dest, src, bos) NULL +#define __builtin___strcpy_chk(dest, src, bos) NULL +#define __builtin___strncat_chk(dest, src, len, bos) NULL +#define __builtin___strncpy_chk(dest, src, len, bos) NULL +#define __builtin_object_size(bos, level) 0 + #include <string.h> |