util/bincfg: don't use fp shared variable

Change-Id: Ie710f8c6c06332830c3edb9e5490d1e4877ee33b
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Reviewed-on: https://review.coreboot.org/23241
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Denis 'GNUtoo' Carikli
2018-01-12 04:21:14 +01:00
committed by Martin Roth
parent fa0bdfc120
commit d5dee1e8a0
2 changed files with 18 additions and 17 deletions

View File

@@ -39,10 +39,9 @@ struct blob {
static struct field *putsym (char const *, unsigned int);
static struct field *getsym (char const *);
static void yyerror (char const *);
static void yyerror (FILE* fp, char const *);
int yylex (void);
static FILE* fp;
static struct blob *binary;
static struct field *sym_table;
static struct field *sym_table_tail;