summaryrefslogtreecommitdiff
path: root/src/yylex.c
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2014-10-31 14:20:02 -0400
committerWill Estes <westes575@gmail.com>2014-11-11 21:09:36 -0500
commit03a7f82cb4e0b273afbd1de04603a26a467e94c9 (patch)
treed54aef088666875a9d94037884b00ce23437ba1b /src/yylex.c
parent2d257614dd66f410375f24ce1f2306b3c260bd29 (diff)
NetBSD downstream patches.
const fixes. -Wconversion fixes for the skeleton files. param namespace protection (add _ to inline function parameters). unused variable/code removal. rename warn to lwarn to avoid conflict with <err.h>. ctype.h function argument correction. merged the error functions lerrif and lerrsf -> lerr.
Diffstat (limited to 'src/yylex.c')
-rw-r--r--src/yylex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yylex.c b/src/yylex.c
index 73d371f..17b3e61 100644
--- a/src/yylex.c
+++ b/src/yylex.c
@@ -38,11 +38,11 @@
/* yylex - scan for a regular expression token */
-int yylex ()
+extern char *yytext;
+int yylex (void)
{
int toktype;
static int beglin = false;
- extern char *yytext;
if (eofseen)
toktype = EOF;