From 5366ce26815e65c84d81cc29b646e39fbd7dca76 Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 30 Oct 2013 21:46:58 +0000 Subject: [PATCH] AA: scripts/config: fix inline handling for kconf_id_lookup() Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@38611 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- scripts/config/zconf.hash.c_shipped | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/config/zconf.hash.c_shipped b/scripts/config/zconf.hash.c_shipped index 7b8f074..514d65e 100644 --- a/scripts/config/zconf.hash.c_shipped +++ b/scripts/config/zconf.hash.c_shipped @@ -159,6 +159,9 @@ static struct kconf_id_strings_t kconf_id_strings_contents = #define kconf_id_strings ((const char *) &kconf_id_strings_contents) #ifdef __GNUC__ __inline +#if defined __GNUC_STDC_INLINE__ || defined __GNUC_GNU_INLINE__ +__attribute__ ((__gnu_inline__)) +#endif #endif struct kconf_id * kconf_id_lookup (register const char *str, register unsigned int len) -- 2.11.0