input: Fix compiling against libedit with -fno-common
commit8e559f5f8c1a928f6dae8543640886758469683c
authorJeroen Roovers <jer@gentoo.org>
Sat, 2 May 2020 18:37:06 +0000 (2 14:37 -0400)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 May 2020 06:24:38 +0000 (15 16:24 +1000)
treec7cd60522aecee329f49b0300e2b2edfe27d3db6
parent2b6a5a30eeae293ca50d849bc1dae15f27044f99
input: Fix compiling against libedit with -fno-common

With -fno-common, which will be enabled by default in GCC 10, we see
this error:

ld: input.o:(.bss+0x0): multiple definition of `el';
histedit.o:(.bss+0x8): first defined here

To fix this, simply remove the definition as it is not needed.

Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
src/input.c