[PATCH] Don't use __BEGIN_DECLS macros from glibc.

Dmitry V. Levin ldv@altlinux.org
Mon Oct 26 20:58:10 GMT 2020


On Mon, Oct 26, 2020 at 05:44:24PM -0300, Érico Nogueira via Elfutils-devel wrote:
> From: Érico Rolim <erico.erc@gmail.com>
> 
> These macros are mostly internal to glibc and require the inclusion of
> <sys/cdefs.h> (here included indirectly via <features.h>), which isn't a
> standard header.
> 
> Since they are only required once, replacing them with their definition
> is simple.
> 
> Signed-off-by: Érico Rolim <erico.erc@gmail.com>
> ---
>  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


-- 
ldv


More information about the Elfutils-devel mailing list