summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2004-06-16 21:35:38 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2004-06-16 21:35:38 +0000
commitd60e066017527886df73162330e71435b819dcbd (patch)
treed91e8d0f68807de5d7b807c080af949c37905708 /sys/netinet
parent1d23cbe347fa8b9316c4ad9cc1477cbf643176d4 (diff)
make safe for inclusion in C++ code; ok millert@, deraadt@
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/if_ether.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/if_ether.h b/sys/netinet/if_ether.h
index 4f236c0d77c..e666e1e8d98 100644
--- a/sys/netinet/if_ether.h
+++ b/sys/netinet/if_ether.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ether.h,v 1.30 2004/05/18 21:10:14 brad Exp $ */
+/* $OpenBSD: if_ether.h,v 1.31 2004/06/16 21:35:37 naddy Exp $ */
/* $NetBSD: if_ether.h,v 1.22 1996/05/11 13:00:00 mycroft Exp $ */
/*
@@ -288,11 +288,13 @@ u_int32_t ether_crc32_be(const u_int8_t *, size_t);
#else
+__BEGIN_DECLS
char *ether_ntoa(struct ether_addr *);
struct ether_addr *ether_aton(char *);
int ether_ntohost(char *, struct ether_addr *);
int ether_hostton(char *, struct ether_addr *);
int ether_line(char *, struct ether_addr *, char *);
+__END_DECLS
#endif /* _KERNEL */
#endif /* _NETINET_IF_ETHER_H_ */