From becf15d7cb88e7ad54acd80cfba91e5ce56e5644 Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Sat, 28 Mar 2020 17:02:32 +0000 Subject: [PATCH] sh: remove duplicate el definition el is declared extern in myhistedit.h and defined in histedit.c. Remove the duplicate definition in input.c to appease the -fno-common build. -fno-common will become the default in GCC10/LLVM11. MFC after: 3 days --- bin/sh/input.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/bin/sh/input.c b/bin/sh/input.c index d48aab803903..a8d048fc4890 100644 --- a/bin/sh/input.c +++ b/bin/sh/input.c @@ -102,8 +102,6 @@ static struct parsefile basepf = { /* top level input file */ static struct parsefile *parsefile = &basepf; /* current input file */ int whichprompt; /* 1 == PS1, 2 == PS2 */ -EditLine *el; /* cookie for editline package */ - static void pushfile(void); static int preadfd(void); static void popstring(void);