Re: [PATCH] Drop __BEGIN_DECLS and __END_DECLS from elf.h

2017-05-05 Thread Mark Wielaard
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

[PATCH] Drop __BEGIN_DECLS and __END_DECLS from elf.h

2017-05-03 Thread Ulf Hermann
We don't use those anywhere else and they are not guaranteed to be defined. Also, put the 'extern "C"' after the included headers. Signed-off-by: Ulf Hermann --- libelf/ChangeLog | 4 libelf/elf.h | 10 +++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/libelf/C