summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-07-03 08:08:30 +0000
committerderaadt <deraadt@openbsd.org>1996-07-03 08:08:30 +0000
commitceeee15711af8438df1d3511cb2d95675a664c27 (patch)
tree4c329d4dbfb64ef32d26dafbf51a03a2824c09c3 /lib
parentdocument EOPNOTSUPP error return; from kgor@ksg.com (diff)
downloadwireguard-openbsd-ceeee15711af8438df1d3511cb2d95675a664c27.tar.xz
wireguard-openbsd-ceeee15711af8438df1d3511cb2d95675a664c27.zip
prototype ethers(3) functions (inside !_KERNEL), pointed out in
netbsd pr#2471, jhawk@mit.edu
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/net/ethers.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/net/ethers.c b/lib/libc/net/ethers.c
index 0f32b9b71b1..b4469ed8113 100644
--- a/lib/libc/net/ethers.c
+++ b/lib/libc/net/ethers.c
@@ -56,6 +56,7 @@ ether_aton(s)
return NULL;
}
+int
ether_ntohost(hostname, e)
char *hostname;
struct ether_addr *e;
@@ -110,6 +111,7 @@ ether_ntohost(hostname, e)
return -1;
}
+int
ether_hostton(hostname, e)
char *hostname;
struct ether_addr *e;
@@ -156,6 +158,7 @@ ether_hostton(hostname, e)
return -1;
}
+int
ether_line(l, e, hostname)
char *l;
struct ether_addr *e;