projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed warnings in netstat found by David Greenman.
[unix-history]
/
sys
/
netinet
/
if_ether.h
diff --git
a/sys/netinet/if_ether.h
b/sys/netinet/if_ether.h
index
3ad2cd6
..
6831175
100644
(file)
--- a/
sys/netinet/if_ether.h
+++ b/
sys/netinet/if_ether.h
@@
-31,9
+31,12
@@
* 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_ */