diff options
author | wollman <wollman@FreeBSD.org> | 1996-12-10 17:19:11 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1996-12-10 17:19:11 +0000 |
commit | b569335b9308eb4b8a67b16e0e3dffe2f50bdc7b (patch) | |
tree | 203bbac7ab6a58e1b32386f646c73803b99f19b2 /lib/libc/net/ether_addr.c | |
parent | d3ecee07b35f58cb9d8e5e3c25e923af0c1c5056 (diff) | |
download | FreeBSD-src-b569335b9308eb4b8a67b16e0e3dffe2f50bdc7b.zip FreeBSD-src-b569335b9308eb4b8a67b16e0e3dffe2f50bdc7b.tar.gz |
Get struct ether_addr directly from <net/ethernet.h> rather than pulling
in lots of unrelated junk from <net/if.h> and <net/if_ether.h>. These
functions still aren't prototyped anywhere (but should be in
<net/ethernet.h>---got that, Bill?).
Diffstat (limited to 'lib/libc/net/ether_addr.c')
-rw-r--r-- | lib/libc/net/ether_addr.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/net/ether_addr.c b/lib/libc/net/ether_addr.c index 2c3893b..a6f77ab 100644 --- a/lib/libc/net/ether_addr.c +++ b/lib/libc/net/ether_addr.c @@ -35,7 +35,7 @@ * Center for Telecommunications Research * Columbia University, New York City * - * $Id: ether_addr.c,v 1.4 1996/07/12 18:54:31 jkh Exp $ + * $Id: ether_addr.c,v 1.5 1996/12/05 18:46:19 jkh Exp $ */ @@ -46,9 +46,7 @@ #include <stdlib.h> #include <sys/param.h> #include <sys/socket.h> -#include <net/if.h> -#include <netinet/in.h> -#include <netinet/if_ether.h> +#include <net/ethernet.h> #ifdef YP #include <rpc/rpc.h> #include <rpcsvc/yp_prot.h> |