summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2005-03-28 06:21:49 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2005-03-28 06:21:49 +0000
commitc748c80e7cef30a7f2e6849bd24d759c02645ea1 (patch)
treee4e8d018086f5caaaa25706df572488c78441e14 /lib
parente02e2a5affe16b2a9afa9cd66860fb00a0516a2b (diff)
add const
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/net/ethers.38
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/net/ethers.3 b/lib/libc/net/ethers.3
index 0509c121b8d..72ea79bb2c9 100644
--- a/lib/libc/net/ethers.3
+++ b/lib/libc/net/ethers.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ethers.3,v 1.14 2001/08/06 10:42:26 mpech Exp $
+.\" $OpenBSD: ethers.3,v 1.15 2005/03/28 06:21:48 tedu Exp $
.\"
.\" Written by roland@frob.com. Public domain.
.\"
@@ -18,13 +18,13 @@
.Ft char *
.Fn ether_ntoa "struct ether_addr *e"
.Ft struct ether_addr *
-.Fn ether_aton "char *s"
+.Fn ether_aton "const char *s"
.Ft int
.Fn ether_ntohost "char *hostname" "struct ether_addr *e"
.Ft int
-.Fn ether_hostton "char *hostname" "struct ether_addr *e"
+.Fn ether_hostton "const char *hostname" "struct ether_addr *e"
.Ft int
-.Fn ether_line "char *l" "struct ether_addr *e" "char *hostname"
+.Fn ether_line "const char *l" "struct ether_addr *e" "char *hostname"
.Sh DESCRIPTION
Ethernet addresses are represented by the
following structure: