[PATCH] Don't use __BEGIN_DECLS macros from glibc.
Mon Oct 26 22:24:45 GMT 2020
On Mon, 2020-10-26 at 18:34 -0300, Érico Nogueira via Elfutils-devel
> On Mon Oct 26, 2020 at 8:58 PM -03, Dmitry V. Levin wrote:
> > On Mon, Oct 26, 2020 at 05:44:24PM -0300, Érico Nogueira via
> > Elfutils-devel wrote:
> > > ---
> > > libelf/elf.h | 10 ++++++----
> > > 1 file changed, 6 insertions(+), 4 deletions(-)
> > This file is a verbatim copy of glibc's elf/elf.h, see
> > git log -- libelf/elf.h
> Hm, I see. This change would only make it necessary to restore the top
> and bottom of the file after any update; do you think that would be too
> much trouble? I could also add a comment to make it clear why the
> explicit `extern "C"` is necessary.
Please just suggest a patch upstream to email@example.com.
We'll pick it up when they decide to accept it. Note that it is also a
public glibc header installed as /usr/include/elf.h.
More information about the Elfutils-devel