diff options
Diffstat (limited to 'nametoaddr.h')
-rw-r--r-- | nametoaddr.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/nametoaddr.h b/nametoaddr.h index fd6b7e10..df21c909 100644 --- a/nametoaddr.h +++ b/nametoaddr.h @@ -31,18 +31,10 @@ * SUCH DAMAGE. */ -#ifdef __cplusplus -extern "C" { -#endif - /* * Routines used for name-or-address-string-to-address resolution * that are *not* exported to code using libpcap. */ -int __pcap_atodn(const char *, bpf_u_int32 *); -int __pcap_atoin(const char *, bpf_u_int32 *); -int __pcap_nametodnaddr(const char *, u_short *); - -#ifdef __cplusplus -} -#endif +PCAP_UNEXPORTED_C_FUNC int __pcap_atodn(const char *, bpf_u_int32 *); +PCAP_UNEXPORTED_C_FUNC int __pcap_atoin(const char *, bpf_u_int32 *); +PCAP_UNEXPORTED_C_FUNC int __pcap_nametodnaddr(const char *, u_short *); |