diff options
author | Phil Sutter <phil@nwl.cc> | 2022-06-01 19:15:06 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2022-06-07 17:22:33 +0200 |
commit | ef108943f69a6e20533d58823740d3f0534ea8ec (patch) | |
tree | 47bc545493d64912e132f4289cbbba0743a065d1 /iptables/xshared.h | |
parent | 0416ae5dea134b33e22c97e68b64010d679debe1 (diff) |
libxtables: Unexport init_extensions*() declarations
The functions are used for static builds to initialize extensions after
libxtables init. Regular library users should not need them, but the
empty declarations introduced in #else case (and therefore present in
user's env) may clash with existing symbol names.
Avoid problems and guard the whole block declaring the function
prototypes and mangling extensions' _init functions by XTABLES_INTERNAL.
Reported-by: Nick Hainke <vincent@systemli.org>
Fixes: 6c689b639cf8e ("Simplify static build extension loading")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/xshared.h')
0 files changed, 0 insertions, 0 deletions