]> The Tcpdump Group git mirrors - libpcap/commit
Push pcap_lib_version() into the pcap-XXX.c files.
authorGuy Harris <[email protected]>
Thu, 7 Sep 2017 05:01:38 +0000 (22:01 -0700)
committerGuy Harris <[email protected]>
Thu, 7 Sep 2017 05:01:38 +0000 (22:01 -0700)
commitf290068cc95f6e635791ee7f871e7118b6458502
tree9f3fd77cf51551ccbc12bf6598218978c2fe33e4
parentbad8c25c99cf5511125c7a7e688113c0811841c4
Push pcap_lib_version() into the pcap-XXX.c files.

This lets us move the Windows version to pcap-win32.c, so we don't have
to include packet32.h in pcap.c.

It also gets rid of some #ifdefs, and lets us construct the version
string on UN*X platforms, and MS-DOS, at compile time.
19 files changed:
pcap-bpf.c
pcap-dag.c
pcap-dlpi.c
pcap-dos.c
pcap-int.h
pcap-libdlpi.c
pcap-linux.c
pcap-nit.c
pcap-null.c
pcap-pf.c
pcap-septel.c
pcap-sita.c
pcap-snf.c
pcap-snit.c
pcap-snoop.c
pcap-win32.c
pcap.c
pcap/pcap.h
pcap_version.h.in