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
This commit is contained in:
Kyle Evans 2020-03-28 17:02:32 +00:00
parent cddf6d61d1
commit becf15d7cb

View File

@ -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);