summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2014-11-09 04:34:20 +0000
committerguenther <guenther@openbsd.org>2014-11-09 04:34:20 +0000
commit325e97573ce6be862906e4ab703f3fb0aa9cc27d (patch)
tree0d89a55f974c0996d0cfa96dfbd44a08eaf27046
parent* "shorthand" rather than "short-hand" and "short hand" (diff)
downloadwireguard-openbsd-325e97573ce6be862906e4ab703f3fb0aa9cc27d.tar.xz
wireguard-openbsd-325e97573ce6be862906e4ab703f3fb0aa9cc27d.zip
Correct constness of str*unvis()'s second (source) argument
-rw-r--r--lib/libc/gen/unvis.38
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/gen/unvis.3 b/lib/libc/gen/unvis.3
index e7d80fc5e74..11ea34f8074 100644
--- a/lib/libc/gen/unvis.3
+++ b/lib/libc/gen/unvis.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: unvis.3,v 1.17 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: unvis.3,v 1.18 2014/11/09 04:34:20 guenther Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: November 9 2014 $
.Dt UNVIS 3
.Os
.Sh NAME
@@ -40,9 +40,9 @@
.Ft int
.Fn unvis "char *cp" "char c" "int *astate" "int flag"
.Ft int
-.Fn strunvis "char *dst" "char *src"
+.Fn strunvis "char *dst" "const char *src"
.Ft ssize_t
-.Fn strnunvis "char *dst" "char *src" "size_t size"
+.Fn strnunvis "char *dst" "const char *src" "size_t size"
.Sh DESCRIPTION
The
.Fn unvis ,