X-Git-Url: https://jxself.org/git/?p=carl9170fw.git;a=blobdiff_plain;f=config%2Fzconf.y;h=60936c76865bfb07e6fb1f2767bc1514e69a6169;hp=aedcbc2b0d419ea30bb8d1c17e94310a45f6876f;hb=132500ec775ea681a254cefa862d955f7adff890;hpb=a399a82909831a941901bb311a335e0a5d5384e0 diff --git a/config/zconf.y b/config/zconf.y index aedcbc2..60936c7 100644 --- a/config/zconf.y +++ b/config/zconf.y @@ -1,8 +1,8 @@ -%{ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2002 Roman Zippel - * Released under the terms of the GNU GPL v2.0. */ +%{ #include #include @@ -20,7 +20,6 @@ int cdebug = PRINTD; -int yylex(void); static void yyerror(const char *err); static void zconfprint(const char *err, ...); static void zconf_error(const char *err, ...); @@ -36,7 +35,6 @@ static struct menu *current_menu, *current_entry; %union { char *string; - struct file *file; struct symbol *symbol; struct expr *expr; struct menu *menu; @@ -497,7 +495,6 @@ void conf_parse(const char *name) zconf_initscan(name); _menu_init(); - rootmenu.prompt = menu_add_prompt(P_MENU, "CARL9170 Firmware Configuration", NULL); if (getenv("ZCONF_DEBUG")) yydebug = 1; @@ -730,10 +727,5 @@ void zconfdump(FILE *out) } } -#include "zconf.lex.c" #include "util.c" -#include "confdata.c" -#include "expr.c" -#include "symbol.c" #include "menu.c" -#include "preprocess.c"