Fixed warnings in netstat found by David Greenman.
[unix-history] / sys / netinet / if_ether.h
index 3ad2cd6..6831175 100644 (file)
  * SUCH DAMAGE.
  *
  *     from: @(#)if_ether.h    7.5 (Berkeley) 6/28/90
  * SUCH DAMAGE.
  *
  *     from: @(#)if_ether.h    7.5 (Berkeley) 6/28/90
- *     $Id$
+ *     $Id: if_ether.h,v 1.3 1993/11/07 17:47:47 wollman Exp $
  */
 
  */
 
+#ifndef _NETINET_IF_ETHER_H_
+#define _NETINET_IF_ETHER_H_ 1
+
 /*
  * Structure of a 10Mb/s Ethernet header.
  */
 /*
  * Structure of a 10Mb/s Ethernet header.
  */
@@ -102,8 +105,11 @@ struct     arptab {
 };
 
 #ifdef KERNEL
 };
 
 #ifdef KERNEL
-u_char etherbroadcastaddr[6];
+extern u_char  etherbroadcastaddr[6]; /* defined in net/if_ethersubr.c */
 struct arptab *arptnew();
 struct arptab *arptnew();
-int    ether_output(), ether_input();
-char   *ether_sprintf();
+
+extern void ether_input(struct ifnet *, struct ether_header *, struct mbuf *);
+extern char *ether_sprintf(u_char *);
+
 #endif
 #endif
+#endif /* _NETINET_IF_ETHER_H_ */