summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-03 08:08:31 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-03 08:08:31 +0000
commit9a75b389b2771e76241a4d187927e7ad134315a2 (patch)
tree55181e94118a98833498d3be6d00882385d37fd9 /lib
parent691afaf110ded423efb31541d9bd11194c056c76 (diff)
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;