aboutsummaryrefslogtreecommitdiff
path: root/utils/pcmciautils/patches/002-disable_yywrap.patch
blob: 41895d2a95cc056b9ae6e00ee56ead09bb35631f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/src/lex_config.l
+++ b/src/lex_config.l
@@ -1,6 +1,6 @@
 /* Special state for handling include files */
 %x src
-%option noinput nounput
+%option noinput nounput noyywrap
 
 %{
 /*
@@ -77,10 +77,6 @@ module		/* skip */ ;
 
 %%
 
-#ifndef yywrap
-int yywrap() { return 1; }
-#endif
-
 /*======================================================================
 
     Stuff to parse basic data types