summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/ethers.3
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1996-12-10 17:19:11 +0000
committerwollman <wollman@FreeBSD.org>1996-12-10 17:19:11 +0000
commitb569335b9308eb4b8a67b16e0e3dffe2f50bdc7b (patch)
tree203bbac7ab6a58e1b32386f646c73803b99f19b2 /lib/libc/net/ethers.3
parentd3ecee07b35f58cb9d8e5e3c25e923af0c1c5056 (diff)
downloadFreeBSD-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/ethers.3')
-rw-r--r--lib/libc/net/ethers.36
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/net/ethers.3 b/lib/libc/net/ethers.3
index 21c0153..d9cb7fd 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 *
OpenPOWER on IntegriCloud