From d5dee1e8a0757ba0f9ca5daac67111c5c2e7752e Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Fri, 12 Jan 2018 04:21:14 +0100 Subject: util/bincfg: don't use fp shared variable Change-Id: Ie710f8c6c06332830c3edb9e5490d1e4877ee33b Signed-off-by: Denis 'GNUtoo' Carikli Reviewed-on: https://review.coreboot.org/23241 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- util/bincfg/bincfg.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'util/bincfg/bincfg.h') diff --git a/util/bincfg/bincfg.h b/util/bincfg/bincfg.h index 35c6e9f17c..b8c668889e 100644 --- a/util/bincfg/bincfg.h +++ b/util/bincfg/bincfg.h @@ -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; -- cgit v1.2.3