build: avoid symbol namespace pollution
authorFlorian Westphal <fw@strlen.de>
Tue, 13 Aug 2013 08:48:50 +0000 (10:48 +0200)
committerr.kubiak <r.kubiak@samsung.com>
Mon, 16 Nov 2015 13:12:06 +0000 (14:12 +0100)
commitfb1b425c81b8fcafb76e0770be102102dc9c9ae1
tree461cf7fb68f02b3c518c8931e355a06eaaeed204
parentce529df05914afc2d5a10e4e42915a0aa7ddd78d
build: avoid symbol namespace pollution

As of f40eabb01 (add pkt_buff and protocol helper functions)
libnetfilter_queue accidentally exports the internal function named
'checksum'.  This is a bit too generic and may cause crashes with
applications that worked fine before.

This patch makes the functions checksum, checksum_tcpudp_ipv4 and
checksum_tcpudp_ipv6 local by building with fvis-hidden and adding
EXPORTs for the legacy api calls and the ones that seem to have missing
EXPORT tags (mainly pktbuff api).

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Make_global.am
src/extra/pktbuff.c
src/internal.h
src/libnetfilter_queue.c