diff options
author | Guy Harris <guy@alum.mit.edu> | 2010-05-14 02:47:13 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2010-05-14 02:47:13 +0000 |
commit | e36628d2aab64145cd466b260943cabd5f550ad8 (patch) | |
tree | 95b4ba34a75a07637de459e86bc88b671fe9e356 /capture-pcap-util-int.h | |
parent | 8d56103f48aeb75e3a9be453eb15e03ece652890 (diff) | |
download | wireshark-e36628d2aab64145cd466b260943cabd5f550ad8.tar.gz wireshark-e36628d2aab64145cd466b260943cabd5f550ad8.tar.bz2 wireshark-e36628d2aab64145cd466b260943cabd5f550ad8.zip |
If something is only supposed to be included if we have libpcap, don't
put #ifdef HAVE_LIBPCAP in it.
Add multiple-inclusion protection to capture_errs.h.
svn path=/trunk/; revision=32803
Diffstat (limited to 'capture-pcap-util-int.h')
-rw-r--r-- | capture-pcap-util-int.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/capture-pcap-util-int.h b/capture-pcap-util-int.h index 426595d341..e5a1303d64 100644 --- a/capture-pcap-util-int.h +++ b/capture-pcap-util-int.h @@ -25,8 +25,6 @@ #ifndef __PCAP_UTIL_INT_H__ #define __PCAP_UTIL_INT_H__ -#ifdef HAVE_LIBPCAP - extern if_info_t *if_info_new(char *name, char *description); extern void if_info_add_address(if_info_t *if_info, struct sockaddr *addr); #ifdef HAVE_PCAP_FINDALLDEVS @@ -44,6 +42,4 @@ extern GList *get_interface_list_findalldevs(int *err, char **err_str); */ extern gchar *cant_get_if_list_error_message(const char *err_str); -#endif /* HAVE_LIBPCAP */ - #endif /* __PCAP_UTIL_INT_H__ */ |