diff options
author | Matthieu Herrb <matthieu@herrb.eu> | 2024-05-05 10:59:11 +0200 |
---|---|---|
committer | Matthieu Herrb <matthieu@herrb.eu> | 2024-05-05 10:59:11 +0200 |
commit | ed85f3d22352c8e469ed1e386af3926b4d63efcd (patch) | |
tree | 2162ff552f17fdd9f6c6eba479fa1f2498f99d19 /src/lex.l | |
parent | 1e866201f1ccf8fa3bb22c6f5fa723b26c86dbe1 (diff) | |
parent | 79b0987e63daff97ce9ee1dce883df13668a80c6 (diff) |
Merge remote-tracking branch 'origin/master' into obsd
Diffstat (limited to 'src/lex.l')
-rw-r--r-- | src/lex.l | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -66,12 +66,13 @@ in this Software without prior written authorization from The Open Group. /* #include <stdio.h> */ /* lex already includes stdio.h */ #include "twm.h" -#include "gram.h" #include "list.h" #include "parse.h" #ifdef FLEX_SCANNER +#if (YY_FLEX_MINOR_VERSION == 5) && (YY_FLEX_SUBMINOR_VERSION < 20) int yylineno; +#endif #undef YY_INPUT #define YY_INPUT(buf,result,size) ((result) = doinput((buf),(size))) @@ -139,7 +140,7 @@ number [0-9]+ #ifndef yywrap int -yywrap() +yywrap(void) { return (1); } |