Automatic date update in version.in
[binutils-gdb.git] / binutils / syslex.l
index 836a64cf93b7f39c4b0a87da55aca91e66b9438a..a0ecdf583a631bdd39a2e6c8e7db89102877acab 100644 (file)
@@ -1,7 +1,7 @@
-%option noinput nounput
+%option noinput nounput noyywrap
 
 %{
-/* Copyright (C) 2001-2016 Free Software Foundation, Inc.
+/* Copyright (C) 2001-2022 Free Software Foundation, Inc.
 
    This file is part of GNU Binutils.
 
 
 /* Note: config.h is #included via syslex_wrap.c.  */
 
-#ifdef HAVE_STRING_H
 #include <string.h>
-#else
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
-#endif
-#endif
-
 #include "sysinfo.h"
 
 #ifndef YY_NO_UNPUT
 #define YY_NO_UNPUT
 #endif
 
-#ifndef yywrap
-static int yywrap (void) { return 1; }
-#endif
-
 extern int yylex (void);
 %}
 %%