summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1996-12-19 15:42:52 +0000
committerwollman <wollman@FreeBSD.org>1996-12-19 15:42:52 +0000
commit55419390a663196394ce043d2171969badfde050 (patch)
tree8e9ece5efe4369a9a3ea0ba6b9a4d86fcd27a999 /sys/net
parentf7719f79cdda76e94da096fb26f864dcc72ba51c (diff)
downloadFreeBSD-src-55419390a663196394ce043d2171969badfde050.zip
FreeBSD-src-55419390a663196394ce043d2171969badfde050.tar.gz
Clean up Bill's additions.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/ethernet.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/sys/net/ethernet.h b/sys/net/ethernet.h
index 24f1276..48a0426 100644
--- a/sys/net/ethernet.h
+++ b/sys/net/ethernet.h
@@ -1,7 +1,7 @@
/*
* Fundamental constants relating to ethernet.
*
- * $Id: ethernet.h,v 1.2 1996/08/06 21:14:21 phk Exp $
+ * $Id: ethernet.h,v 1.3 1996/12/18 21:42:38 wpaul Exp $
*
*/
@@ -60,14 +60,16 @@ struct ether_addr {
u_char octet[ETHER_ADDR_LEN];
};
+#ifndef KERNEL
+#include <sys/cdefs.h>
+
/*
* Ethernet address conversion/parsing routines.
*/
-struct ether_addr
- *ether_aton __P(( char * ));
-char *ether_ntoa __P (( struct ether_addr * ));
-int ether_line __P(( char *, struct ether_addr *, char * ));
-int ether_ntohost __P(( char *, struct ether_addr * ));
-int ether_hostton __P(( char *, struct ether_addr * ));
-
-#endif
+struct ether_addr *ether_aton __P((char *));
+char *ether_ntoa __P((struct ether_addr *));
+int ether_line __P((char *, struct ether_addr *, char *));
+int ether_ntohost __P((char *, struct ether_addr *));
+int ether_hostton __P((char *, struct ether_addr *));
+#endif /* KERNEL */
+#endif /* _NET_ETHERNET_H */
OpenPOWER on IntegriCloud