diff options
author | joerg <joerg@pkgsrc.org> | 2014-09-22 11:51:14 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2014-09-22 11:51:14 +0000 |
commit | a2f7226f54634c65615f18420562a60b96b049ff (patch) | |
tree | 76cddeeeda44f58a6c60cf3cb991017eaae39d17 /cross/h8300-elf-gcc34/patches | |
parent | 5943c297a6fc4b13bdf15891d553ac73fe5c2933 (diff) | |
download | pkgsrc-a2f7226f54634c65615f18420562a60b96b049ff.tar.gz |
Drop explicit inline violating C99 semantics.
Diffstat (limited to 'cross/h8300-elf-gcc34/patches')
-rw-r--r-- | cross/h8300-elf-gcc34/patches/patch-gcc_cp_cfns.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/cross/h8300-elf-gcc34/patches/patch-gcc_cp_cfns.h b/cross/h8300-elf-gcc34/patches/patch-gcc_cp_cfns.h new file mode 100644 index 00000000000..c84ca0aa218 --- /dev/null +++ b/cross/h8300-elf-gcc34/patches/patch-gcc_cp_cfns.h @@ -0,0 +1,24 @@ +$NetBSD: patch-gcc_cp_cfns.h,v 1.1 2014/09/22 11:51:14 joerg Exp $ + +--- gcc/cp/cfns.h.orig 2014-09-22 10:57:39.000000000 +0000 ++++ gcc/cp/cfns.h +@@ -34,9 +34,6 @@ + __inline + #endif + static unsigned int hash (const char *, unsigned int); +-#ifdef __GNUC__ +-__inline +-#endif + const char * libc_name_p (const char *, unsigned int); + /* maximum key range = 391, duplicates = 0 */ + +@@ -105,9 +102,6 @@ hash (register const char *str, register + return hval + asso_values[(unsigned char)str[len - 1]]; + } + +-#ifdef __GNUC__ +-__inline +-#endif + const char * + libc_name_p (register const char *str, register unsigned int len) + { |