summaryrefslogtreecommitdiff
path: root/src/gram.y
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2024-03-05 04:17:19 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2024-03-05 05:33:33 -0500
commitc2833e0c97f491a1acc87abe09adcd2b3f937688 (patch)
treea28eb2c45e8f967456b0dce130bb3771d73bcecf /src/gram.y
parentcebd6e2bab56c12d48ed3aa3c562bf9661595394 (diff)
improve declaration of yylex()
Replace the extern declaration of yylex() in gram.y with a definition/use in parse.h, improving portability. Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/gram.y')
-rw-r--r--src/gram.y1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gram.y b/src/gram.y
index cf46d35..7394e81 100644
--- a/src/gram.y
+++ b/src/gram.y
@@ -100,7 +100,6 @@ static int color;
int mods = 0;
unsigned int mods_used = (ShiftMask | ControlMask | Mod1Mask);
-extern int yylex(void);
static void yyerror(const char *s);
%}