summaryrefslogtreecommitdiffstats
path: root/usr.bin/mklocale/yacc.y
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mklocale/yacc.y')
-rw-r--r--usr.bin/mklocale/yacc.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mklocale/yacc.y b/usr.bin/mklocale/yacc.y
index dcdef34..7ad1d37 100644
--- a/usr.bin/mklocale/yacc.y
+++ b/usr.bin/mklocale/yacc.y
@@ -183,7 +183,7 @@ map : LBRK RUNE RUNE RBRK
%%
int debug = 0;
-FILE *fp = stdout;
+FILE *fp;
main(ac, av)
int ac;
@@ -193,6 +193,7 @@ main(ac, av)
extern char *optarg;
extern int optind;
+ fp = stdout;
while ((x = getopt(ac, av, "do:")) != EOF) {
switch(x) {
OpenPOWER on IntegriCloud