pkgsrc-ng/cross/avr-gcc/patches/patch-gcc_cp_cfns.h
2014-11-05 12:41:07 +01:00

17 lines
461 B
C

$NetBSD: patch-gcc_cp_cfns.h,v 1.3 2013/08/07 03:11:35 mef Exp $
date: 2012-11-16 09:38:21 +0900; author: joerg; state: Exp;
Fix inline usage.
--- gcc/cp/cfns.h.orig 2012-11-14 17:13:55.000000000 +0000
+++ gcc/cp/cfns.h
@@ -35,7 +35,7 @@
#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 */