Move the declarations of wtap_pcap_encap_to_wtap_encap() and
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 23 Feb 2010 03:50:42 +0000 (03:50 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 23 Feb 2010 03:50:42 +0000 (03:50 +0000)
commit40fae42f5a521e26a67031a8ac451c6354751913
tree864989b98b67999c070743fbddc217c37a99e1f8
parent69af4b2174fcb9f4fd467457f2465335067bb217
Move the declarations of wtap_pcap_encap_to_wtap_encap() and
wtap_wtap_encap_to_pcap_encap() to wiretap/pcap-encap.h.  Include it
where it's needed; don't include other Wiretap headers where they're not
needed.

Include pcapng.h in pcapng.c, to declare the functions defined in
pcapng.c.  Add some casts to squelch some warnings, and add to a comment
to indicate one of the problems.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31960 f5534014-38df-0310-8fa8-9805f1628bb7
epan/dissectors/packet-ppi.c
rawshark.c
wiretap/Makefile.common
wiretap/libpcap.c
wiretap/libpcap.h
wiretap/pcap-common.c
wiretap/pcap-common.h
wiretap/pcap-encap.h [new file with mode: 0644]
wiretap/pcapng.c