summaryrefslogtreecommitdiff
path: root/src/yylex.c
diff options
context:
space:
mode:
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;