diff options
author | Guy Harris <guy@alum.mit.edu> | 2010-02-23 03:50:42 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2010-02-23 03:50:42 +0000 |
commit | c85899e946cf25597d3bd1328632bbb5c5456012 (patch) | |
tree | 864989b98b67999c070743fbddc217c37a99e1f8 /epan/dissectors/packet-ppi.c | |
parent | add4e4dfbd7ea5bd6f5e435413633605c627a0f7 (diff) | |
download | wireshark-c85899e946cf25597d3bd1328632bbb5c5456012.tar.gz |
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.
svn path=/trunk/; revision=31960
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" |