]> The Tcpdump Group git mirrors - libpcap/commit
Don't wrap chunks of headers with extern "C" { ... }.
authorGuy Harris <[email protected]>
Wed, 17 Mar 2021 09:23:37 +0000 (02:23 -0700)
committerGuy Harris <[email protected]>
Wed, 17 Mar 2021 09:23:37 +0000 (02:23 -0700)
commit8b6b13d4cbb685db047af04c49817ed81fff7c35
tree7ba565e6cfa2a8e0f25952bc720c389512255170
parentbb02779a37fdf815da58e8828eb4ce99a4f86580
Don't wrap chunks of headers with extern "C" { ... }.

Instead, explictly flag individual functions with extern "C" by adding
it to the tag we're already using for exported functions, and creating a
new tag to use for non-exported functions.

Rename those tags, and the tags used for exported data, to say what they
do, rather than saying "this is an API" (we may export things we don't
want to be treated as part of the API, but that we have to export
because some programs use them).
17 files changed:
CMakeLists.txt
aclocal.m4
configure
dlpisubs.h
fmtutils.h
nametoaddr.c
nametoaddr.h
optimize.c
pcap-int.h
pcap.c
pcap/bpf.h
pcap/funcattrs.h
pcap/namedb.h
pcap/pcap.h
portability.h
sockutils.h
testprogs/filtertest.c