summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1996-12-10 17:19:11 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1996-12-10 17:19:11 +0000
commit13629194a527676feec1c43dd461b18854445645 (patch)
tree203bbac7ab6a58e1b32386f646c73803b99f19b2 /lib
parent628d2ac1b093f48f6fb98b17308acacc929876d8 (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/net/ether_addr.c6
-rw-r--r--lib/libc/net/ethers.36
2 files changed, 4 insertions, 8 deletions
diff --git a/lib/libc/net/ether_addr.c b/lib/libc/net/ether_addr.c
index 2c3893b96a32..a6f77ab51a6e 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>
diff --git a/lib/libc/net/ethers.3 b/lib/libc/net/ethers.3
index 21c015365be5..d9cb7fde0a81 100644
--- a/lib/libc/net/ethers.3
+++ b/lib/libc/net/ethers.3
@@ -28,7 +28,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id: ethers.3,v 1.2 1996/02/11 22:33:53 mpp Exp $
+.\" $Id: ethers.3,v 1.3 1996/08/21 22:10:30 mpp Exp $
.\"
.Dd April 12, 1995
.Dt ETHERS 3
@@ -44,9 +44,7 @@
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
-.Fd #include <net/if.h>
-.Fd #include <netinet/in.h>
-.Fd #include <netinet/if_ether.h>
+.Fd #include <net/ethernet.h>
.Ft int
.Fn ether_line "char *l" "struct ether_addr *e" "char *hostname"
.Ft struct ether_addr *