aboutsummaryrefslogtreecommitdiff
path: root/binutils/syslex.l
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/syslex.l')
-rw-r--r--binutils/syslex.l6
1 files changed, 1 insertions, 5 deletions
diff --git a/binutils/syslex.l b/binutils/syslex.l
index 86cb17d..7fcc714 100644
--- a/binutils/syslex.l
+++ b/binutils/syslex.l
@@ -1,4 +1,4 @@
-%option noinput nounput
+%option noinput nounput noyywrap
%{
/* Copyright (C) 2001-2017 Free Software Foundation, Inc.
@@ -36,10 +36,6 @@
#define YY_NO_UNPUT
#endif
-#ifndef yywrap
-static int yywrap (void) { return 1; }
-#endif
-
extern int yylex (void);
%}
%%