diff options
author | 2004-02-01 19:45:00 +0000 | |
---|---|---|
committer | 2004-02-01 19:45:00 +0000 | |
commit | 4eb63f823a78e4cd68bb62b777a081a7ba5f5b28 (patch) | |
tree | 56c02bd7032695a451c6da60123111b8f46a9a02 /lib/libc | |
parent | No multi-line strings, to please gcc3. No functional change. (diff) | |
download | wireguard-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.3 | 4 | ||||
-rw-r--r-- | lib/libc/net/getprotoent.3 | 4 |
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 |