summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gram.y1
-rw-r--r--src/twm.h3
2 files changed, 1 insertions, 3 deletions
diff --git a/src/gram.y b/src/gram.y
index 791e60f..a738f88 100644
--- a/src/gram.y
+++ b/src/gram.y
@@ -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);
%}
diff --git a/src/twm.h b/src/twm.h
index a7793da..8786ad2 100644
--- a/src/twm.h
+++ b/src/twm.h
@@ -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[];