diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> | 2018-01-12 04:21:14 +0100 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-01-23 05:21:48 +0000 |
commit | d5dee1e8a0757ba0f9ca5daac67111c5c2e7752e (patch) | |
tree | 3576205a17e5e360a2edc5b6ad2b4b9a22e307e8 /util/bincfg/bincfg.h | |
parent | fa0bdfc1207b6675bb1f46708e02aa1462a5ec1d (diff) | |
download | coreboot-d5dee1e8a0757ba0f9ca5daac67111c5c2e7752e.tar.xz |
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>
Diffstat (limited to 'util/bincfg/bincfg.h')
-rw-r--r-- | util/bincfg/bincfg.h | 3 |
1 files changed, 1 insertions, 2 deletions
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; |