From c2833e0c97f491a1acc87abe09adcd2b3f937688 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Tue, 5 Mar 2024 04:17:19 -0500 Subject: 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 --- src/gram.y | 1 - 1 file changed, 1 deletion(-) (limited to 'src/gram.y') 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); %} -- cgit v1.2.3