summaryrefslogtreecommitdiffstats
path: root/contrib/libpcap/pcap-namedb.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1998-08-07 06:20:58 +0000
committerphk <phk@FreeBSD.org>1998-08-07 06:20:58 +0000
commit8c372cf52216bf7827b7608354d4f976a4e8c9fb (patch)
tree0d62d5b756485460f489a219f50d7e7a2fddfe3a /contrib/libpcap/pcap-namedb.h
parentcf87bd045cafe9d7015d858a8902363d9444f6b0 (diff)
downloadFreeBSD-src-8c372cf52216bf7827b7608354d4f976a4e8c9fb.zip
FreeBSD-src-8c372cf52216bf7827b7608354d4f976a4e8c9fb.tar.gz
None of the header files for the packet capture library
are suitable to include in a C++ file. PR: 7229 Reviewed by: phk Submitted by: Craig Spannring <cts@internetcds.com>
Diffstat (limited to 'contrib/libpcap/pcap-namedb.h')
-rw-r--r--contrib/libpcap/pcap-namedb.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/libpcap/pcap-namedb.h b/contrib/libpcap/pcap-namedb.h
index e3b399a..4310907 100644
--- a/contrib/libpcap/pcap-namedb.h
+++ b/contrib/libpcap/pcap-namedb.h
@@ -36,6 +36,11 @@
#ifndef lib_pcap_ethers_h
#define lib_pcap_ethers_h
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
/*
* As returned by the pcap_next_etherent()
* XXX this stuff doesn't belong in this interface, but this
@@ -73,4 +78,9 @@ int __pcap_atodn(const char *, bpf_u_int32 *);
int __pcap_atoin(const char *, bpf_u_int32 *);
u_short __pcap_nametodnaddr(const char *);
+#ifdef __cplusplus
+}
+#endif
+
+
#endif
OpenPOWER on IntegriCloud