diff options
author | Tim Wiederhake <twied@gmx.net> | 2024-01-01 12:22:46 +0100 |
---|---|---|
committer | Tim Wiederhake <twied@gmx.net> | 2024-01-01 12:22:46 +0100 |
commit | dd6121dd4d9218b29f1544d244c2622f6a502a18 (patch) | |
tree | 7ca64fbff1450fe9f211933993af2f69b39a7758 | |
parent | 3a4cc8b4b2baeb6b2e043c25495aede08a649641 (diff) |
Remove redundant declaration of yylex
yylex is already declared in (the generated) lex.c. This silences
a "redundant redeclaration of 'yylex'" warning.
Signed-off-by: Tim Wiederhake <twied@gmx.net>
-rw-r--r-- | src/gram.y | 1 | ||||
-rw-r--r-- | src/twm.h | 3 |
2 files changed, 1 insertions, 3 deletions
@@ -101,6 +101,7 @@ int mods = 0; unsigned int mods_used = (ShiftMask | ControlMask | Mod1Mask); extern int yylineno; +extern int yylex(void); static void yyerror(const char *s); %} @@ -416,9 +416,6 @@ extern Bool RestartPreviousState; extern Bool GetWMState(Window w, int *statep, Window *iwp); -extern int -yylex(void); - extern void parseWarning(const char *, ...) GCC_PRINTFLIKE(1,2); extern Atom TwmAtoms[]; |