svn commit: r359398 - head/bin/sh
Kyle Evans
kevans at FreeBSD.org
Sat Mar 28 17:21:01 UTC 2020
Author: kevans
Date: Sat Mar 28 17:02:32 2020
New Revision: 359398
URL: https://svnweb.freebsd.org/changeset/base/359398
Log:
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
Modified:
head/bin/sh/input.c
Modified: head/bin/sh/input.c
==============================================================================
--- head/bin/sh/input.c Sat Mar 28 17:00:38 2020 (r359397)
+++ head/bin/sh/input.c Sat Mar 28 17:02:32 2020 (r359398)
@@ -102,8 +102,6 @@ static struct parsefile basepf = { /* top level input
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);
More information about the svn-src-all
mailing list