summaryrefslogtreecommitdiff
path: root/kconfig/zconf.gperf
diff options
context:
space:
mode:
Diffstat (limited to 'kconfig/zconf.gperf')
-rw-r--r--kconfig/zconf.gperf12
1 files changed, 2 insertions, 10 deletions
diff --git a/kconfig/zconf.gperf b/kconfig/zconf.gperf
index d758a2a..b6ac02d 100644
--- a/kconfig/zconf.gperf
+++ b/kconfig/zconf.gperf
@@ -7,18 +7,9 @@
%pic
%struct-type
-%{
-# ifndef offsetof
-# include <stddef.h>
-# ifndef offsetof
-# define offsetof(st, m) ((size_t)(&((st *)0)->m))
-# endif
-# endif
-%}
-
struct kconf_id;
-static struct kconf_id *kconf_id_lookup(register const char *str, register unsigned int len);
+static const struct kconf_id *kconf_id_lookup(register const char *str, register unsigned int len);
%%
mainmenu, T_MAINMENU, TF_COMMAND
@@ -53,4 +44,5 @@ on, T_ON, TF_PARAM
modules, T_OPT_MODULES, TF_OPTION
defconfig_list, T_OPT_DEFCONFIG_LIST,TF_OPTION
env, T_OPT_ENV, TF_OPTION
+allnoconfig_y, T_OPT_ALLNOCONFIG_Y,TF_OPTION
%%