summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-03-28 17:02:32 +0000
committerKyle Evans <kevans@FreeBSD.org>2020-03-28 17:02:32 +0000
commitbecf15d7cb88e7ad54acd80cfba91e5ce56e5644 (patch)
tree0b6a5af5360e98038b97981c5dc6aabe6fe01d27 /bin
parentcddf6d61d133b6269379a650e3b67b5d93751077 (diff)
downloadsrc-test-becf15d7cb88e7ad54acd80cfba91e5ce56e5644.tar.gz
src-test-becf15d7cb88e7ad54acd80cfba91e5ce56e5644.zip
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
Notes
Notes: svn path=/head/; revision=359398
Diffstat (limited to 'bin')
-rw-r--r--bin/sh/input.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/bin/sh/input.c b/bin/sh/input.c
index d48aab803903d..a8d048fc4890d 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);