diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-02-23 03:50:42 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-02-23 03:50:42 +0000 |
commit | 40fae42f5a521e26a67031a8ac451c6354751913 (patch) | |
tree | 864989b98b67999c070743fbddc217c37a99e1f8 /epan/dissectors/packet-ppi.c | |
parent | 69af4b2174fcb9f4fd467457f2465335067bb217 (diff) |
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
Diffstat (limited to 'epan/dissectors/packet-ppi.c')
-rw-r--r-- | epan/dissectors/packet-ppi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ppi.c b/epan/dissectors/packet-ppi.c index c8c2e3afd1..23e95f5102 100644 --- a/epan/dissectors/packet-ppi.c +++ b/epan/dissectors/packet-ppi.c @@ -61,7 +61,7 @@ #include <epan/frequency-utils.h> /* Needed for wtap_pcap_encap_to_wtap_encap(). */ -#include <wiretap/libpcap.h> +#include <wiretap/pcap-encap.h> #include "packet-frame.h" #include "packet-eth.h" |