Make elf.h header self contained.
authorÉrico Rolim <ericonr@disroot.org>
Tue, 27 Oct 2020 14:17:41 +0000 (11:17 -0300)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 28 Oct 2020 10:29:16 +0000 (11:29 +0100)
commit9538f6b95a3be228edc078ce58258f0574142e0c
tree01b255b91a80eae43e5dda8c5a35073f08568c92
parent59803e81f96b479c17f583b31eac44b57591a1bf
Make elf.h header self contained.

The elf/elf.h header is shared, verbatim, by the elfutils project.
However, elfutils can be used on systems with libcs other than glibc,
making the presence of __BEGIN_DECLS, __END_DECLS and <features.h> in
the file something that downstream distros may have to add patches for.

Furthermore, this file doesn't declare anything with language linkage,
so `extern "C" {}` blocks aren't necessary; it also doesn't have any
conditional definitions based on feature test macros, making inclusion
of features.h unnecessary.
elf/elf.h