summaryrefslogtreecommitdiff
path: root/cross/avr-gcc/patches/patch-gcc_cp_cfns.h
diff options
context:
space:
mode:
Diffstat (limited to 'cross/avr-gcc/patches/patch-gcc_cp_cfns.h')
-rw-r--r--cross/avr-gcc/patches/patch-gcc_cp_cfns.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/cross/avr-gcc/patches/patch-gcc_cp_cfns.h b/cross/avr-gcc/patches/patch-gcc_cp_cfns.h
new file mode 100644
index 00000000000..d960d3ecd50
--- /dev/null
+++ b/cross/avr-gcc/patches/patch-gcc_cp_cfns.h
@@ -0,0 +1,20 @@
+$NetBSD: patch-gcc_cp_cfns.h,v 1.1 2012/11/16 00:38:21 joerg Exp $
+
+--- gcc/cp/cfns.h.orig 2012-11-14 17:13:55.000000000 +0000
++++ gcc/cp/cfns.h
+@@ -35,13 +35,13 @@ __inline
+ #endif
+ static unsigned int hash (const char *, unsigned int);
+ #ifdef __GNUC__
+-__inline
++static __inline
+ #endif
+ const char * libc_name_p (const char *, unsigned int);
+ /* maximum key range = 391, duplicates = 0 */
+
+ #ifdef __GNUC__
+-__inline
++static __inline
+ #else
+ #ifdef __cplusplus
+ inline