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 /wiretap/libpcap.c | |
parent | add4e4dfbd7ea5bd6f5e435413633605c627a0f7 (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.
svn path=/trunk/; revision=31960
Diffstat (limited to 'wiretap/libpcap.c')
-rw-r--r-- | wiretap/libpcap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wiretap/libpcap.c b/wiretap/libpcap.c index cdca16f234..b36cb9d3b0 100644 --- a/wiretap/libpcap.c +++ b/wiretap/libpcap.c @@ -32,6 +32,7 @@ #include "buffer.h" #include "atm.h" #include "pcap-common.h" +#include "pcap-encap.h" #include "libpcap.h" /* See source to the "libpcap" library for information on the "libpcap" |