elf: Make the tunable struct definition internal only
commit058308066c9ee3d08361a61cc36835abfe5ecfb6
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Wed, 6 Jan 2021 17:19:24 +0000 (6 17:19 +0000)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Thu, 21 Jan 2021 14:05:15 +0000 (21 14:05 +0000)
treed28a0d32d025f750f213b023cc3078d2aeb8a258
parentff6d62e9edb5dce537a6dd4a237d6053f331f09c
elf: Make the tunable struct definition internal only

The representation of the tunables including type information and
the tunable list structure are only used in the implementation not
in the tunables api that is exposed to usage within glibc.

This patch moves the representation related definitions into the
existing dl-tunable-types.h and uses that only for implementation.

The tunable callback and related types are moved to dl-tunables.h
because they are part of the tunables api.

This reduces the details exposed in the tunables api so the internals
are easier to change.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
elf/dl-tunable-types.h
elf/dl-tunables.h
scripts/gen-tunables.awk