[PATCH] Drop __BEGIN_DECLS and __END_DECLS from elf.h
Mark Wielaard
mark@klomp.org
Fri May 5 13:16:00 GMT 2017
On Wed, 2017-05-03 at 18:03 +0200, Ulf Hermann wrote:
> We don't use those anywhere else and they are not guaranteed to be
> defined. Also, put the 'extern "C"' after the included headers.
Note that elf.h is somewhat special. We import it as-is from glibc and
like to not have divergence if at all possible. So could you try
submitting to glibc upstream first? (libc-alpha@sourceware.org)
They might say they expect your features.h to provide these macros.
But they might also just take the change as is. If not we'll figure
something out for elfutils.
Thanks,
Mark
More information about the Elfutils-devel
mailing list