aboutsummaryrefslogtreecommitdiff
path: root/scripts/kconfig
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-06-19 18:15:33 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2016-06-19 18:15:33 +0200
commit015db5800ca7c6dd2d201eacb2951e72e6782b30 (patch)
tree0fe9b90c782f2ac831f30793e384b07bd690b3b3 /scripts/kconfig
parentce824aecf216536beed00d7817a614ffb8572239 (diff)
downloadbusybox-w32-015db5800ca7c6dd2d201eacb2951e72e6782b30.tar.gz
busybox-w32-015db5800ca7c6dd2d201eacb2951e72e6782b30.tar.bz2
busybox-w32-015db5800ca7c6dd2d201eacb2951e72e6782b30.zip
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts/kconfig')
-rw-r--r--scripts/kconfig/zconf.hash.c_shipped14
1 files changed, 2 insertions, 12 deletions
diff --git a/scripts/kconfig/zconf.hash.c_shipped b/scripts/kconfig/zconf.hash.c_shipped
index d39cf189a..29d9cf6cc 100644
--- a/scripts/kconfig/zconf.hash.c_shipped
+++ b/scripts/kconfig/zconf.hash.c_shipped
@@ -32,14 +32,7 @@
32struct kconf_id; 32struct kconf_id;
33/* maximum key range = 45, duplicates = 0 */ 33/* maximum key range = 45, duplicates = 0 */
34 34
35#ifdef __GNUC__ 35unsigned int
36__inline
37#else
38#ifdef __cplusplus
39inline
40#endif
41#endif
42static unsigned int
43kconf_id_hash (register const char *str, register unsigned int len) 36kconf_id_hash (register const char *str, register unsigned int len)
44{ 37{
45 static unsigned char asso_values[] = 38 static unsigned char asso_values[] =
@@ -119,7 +112,7 @@ struct kconf_id_strings_t
119 char kconf_id_strings_str41[sizeof("choice")]; 112 char kconf_id_strings_str41[sizeof("choice")];
120 char kconf_id_strings_str46[sizeof("prompt")]; 113 char kconf_id_strings_str46[sizeof("prompt")];
121 }; 114 };
122static struct kconf_id_strings_t kconf_id_strings_contents = 115struct kconf_id_strings_t kconf_id_strings_contents =
123 { 116 {
124 "if", 117 "if",
125 "int", 118 "int",
@@ -153,9 +146,6 @@ static struct kconf_id_strings_t kconf_id_strings_contents =
153 "prompt" 146 "prompt"
154 }; 147 };
155#define kconf_id_strings ((const char *) &kconf_id_strings_contents) 148#define kconf_id_strings ((const char *) &kconf_id_strings_contents)
156#ifdef __GNUC__
157__inline
158#endif
159struct kconf_id * 149struct kconf_id *
160kconf_id_lookup (register const char *str, register unsigned int len) 150kconf_id_lookup (register const char *str, register unsigned int len)
161{ 151{