summaryrefslogtreecommitdiffstats
path: root/usr.bin/mkesdb/yacc.y
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2013-05-25 15:36:15 +0000
committered <ed@FreeBSD.org>2013-05-25 15:36:15 +0000
commit9b52f7b4ed3c8328148e0309a1940c05066ddf43 (patch)
tree21ab1e11459d9d731bd9b64200e223511a7c0464 /usr.bin/mkesdb/yacc.y
parent843b520e070189fc9edf7f90939fc984e2611572 (diff)
downloadFreeBSD-src-9b52f7b4ed3c8328148e0309a1940c05066ddf43.zip
FreeBSD-src-9b52f7b4ed3c8328148e0309a1940c05066ddf43.tar.gz
Prevent shadowing.
The name line_number seems to be used as a function parameter name for one of the Lex functions. Change the name to linenumber.
Diffstat (limited to 'usr.bin/mkesdb/yacc.y')
-rw-r--r--usr.bin/mkesdb/yacc.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/mkesdb/yacc.y b/usr.bin/mkesdb/yacc.y
index 0c01b61..6d77b15 100644
--- a/usr.bin/mkesdb/yacc.y
+++ b/usr.bin/mkesdb/yacc.y
@@ -114,7 +114,7 @@ int
yyerror(const char *s)
{
- fprintf(stderr, "%s in %d\n", s, line_number);
+ fprintf(stderr, "%s in %d\n", s, linenumber);
return (0);
}
OpenPOWER on IntegriCloud