aboutsummaryrefslogtreecommitdiff
path: root/util/bincfg/bincfg.h
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2018-01-12 04:21:14 +0100
committerMartin Roth <martinroth@google.com>2018-01-23 05:21:48 +0000
commitd5dee1e8a0757ba0f9ca5daac67111c5c2e7752e (patch)
tree3576205a17e5e360a2edc5b6ad2b4b9a22e307e8 /util/bincfg/bincfg.h
parentfa0bdfc1207b6675bb1f46708e02aa1462a5ec1d (diff)
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.h3
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;