aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-10-30 21:46:58 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-10-30 21:46:58 +0000
commita3f67c8722725526be0c9a63b822bdcb85014a2d (patch)
tree00cfd5cdc06b1289bda9a9454fda8ea6e5d59d9e
parent179dac503f8e005c2f8bd9c8109ffa49f1917b66 (diff)
downloadupstream-a3f67c8722725526be0c9a63b822bdcb85014a2d.tar.gz
upstream-a3f67c8722725526be0c9a63b822bdcb85014a2d.tar.bz2
upstream-a3f67c8722725526be0c9a63b822bdcb85014a2d.zip
AA: scripts/config: fix inline handling for kconf_id_lookup()
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@38611 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--scripts/config/zconf.hash.c_shipped3
1 files changed, 3 insertions, 0 deletions
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)