aboutsummaryrefslogtreecommitdiffstats
path: root/capture-pcap-util-int.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2010-05-14 02:47:13 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2010-05-14 02:47:13 +0000
commitcf9d5c67c1579b57726d90459f27536ad061cba2 (patch)
tree95b4ba34a75a07637de459e86bc88b671fe9e356 /capture-pcap-util-int.h
parentd45e0d9bdcce3974002feafea24624e81eecac59 (diff)
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32803 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture-pcap-util-int.h')
-rw-r--r--capture-pcap-util-int.h4
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__ */