summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authornordin <nordin@openbsd.org>2004-02-01 19:45:00 +0000
committernordin <nordin@openbsd.org>2004-02-01 19:45:00 +0000
commit4eb63f823a78e4cd68bb62b777a081a7ba5f5b28 (patch)
tree56c02bd7032695a451c6da60123111b8f46a9a02 /lib/libc
parentNo multi-line strings, to please gcc3. No functional change. (diff)
downloadwireguard-openbsd-4eb63f823a78e4cd68bb62b777a081a7ba5f5b28.tar.xz
wireguard-openbsd-4eb63f823a78e4cd68bb62b777a081a7ba5f5b28.zip
Add const type qualifier. ok jmc@
Diffstat (limited to 'lib/libc')
-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