From c85899e946cf25597d3bd1328632bbb5c5456012 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 23 Feb 2010 03:50:42 +0000 Subject: 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 --- epan/dissectors/packet-ppi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-ppi.c') 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 /* Needed for wtap_pcap_encap_to_wtap_encap(). */ -#include +#include #include "packet-frame.h" #include "packet-eth.h" -- cgit v1.2.1