summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Nordin <nordin@cvs.openbsd.org>2004-02-01 19:45:01 +0000
committerThomas Nordin <nordin@cvs.openbsd.org>2004-02-01 19:45:01 +0000
commit3fd41d6dc00ba0ff9f58cae245b2b0a876dc97b6 (patch)
treec7d07478faeab33d210ba1f7120a9162e3d7571a
parent7c2cefc01c0b5c9de951f3341efa70e7d66651c0 (diff)
Add const type qualifier. ok jmc@
-rw-r--r--lib/libc/net/getnetent.34
-rw-r--r--lib/libc/net/getprotoent.34
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/net/getnetent.3 b/lib/libc/net/getnetent.3
index 7cfb22a01d9..40b50a8c3f6 100644
--- a/lib/libc/net/getnetent.3
+++ b/lib/libc/net/getnetent.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getnetent.3,v 1.12 2003/06/02 20:18:35 millert Exp $
+.\" $OpenBSD: getnetent.3,v 1.13 2004/02/01 19:45:00 nordin Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -42,7 +42,7 @@
.Ft struct netent *
.Fn getnetent "void"
.Ft struct netent *
-.Fn getnetbyname "char *name"
+.Fn getnetbyname "const char *name"
.Ft struct netent *
.Fn getnetbyaddr "in_addr_t net" "int type"
.Ft void
diff --git a/lib/libc/net/getprotoent.3 b/lib/libc/net/getprotoent.3
index be257966a26..5c41e6fb7cd 100644
--- a/lib/libc/net/getprotoent.3
+++ b/lib/libc/net/getprotoent.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getprotoent.3,v 1.9 2003/06/02 20:18:35 millert Exp $
+.\" $OpenBSD: getprotoent.3,v 1.10 2004/02/01 19:45:00 nordin Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -42,7 +42,7 @@
.Ft struct protoent *
.Fn getprotoent "void"
.Ft struct protoent *
-.Fn getprotobyname "char *name"
+.Fn getprotobyname "const char *name"
.Ft struct protoent *
.Fn getprotobynumber "int proto"
.Ft void