From a3f67c8722725526be0c9a63b822bdcb85014a2d Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 30 Oct 2013 21:46:58 +0000 Subject: 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 7b8f074eef..514d65e7fb 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) -- cgit v1.2.3