summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 02:16:49 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 02:16:49 +0000
commit2fead8d30e5daf7aa40a63f48e29d10da2e8615c (patch)
tree54392c567b950f61504ece6a2c08ac35abf17706 /lib/libc
parent1054cea88342634b4272bbe353af35407688fbbc (diff)
make first arg of strtod/strtoq const
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdlib/strtol.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdlib/strtol.3 b/lib/libc/stdlib/strtol.3
index d18920a45bf..506a7ace172 100644
--- a/lib/libc/stdlib/strtol.3
+++ b/lib/libc/stdlib/strtol.3
@@ -34,7 +34,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)strtol.3 5.4 (Berkeley) 6/25/92
-.\" $Id: strtol.3,v 1.1 1995/10/18 08:42:19 deraadt Exp $
+.\" $Id: strtol.3,v 1.2 1995/12/14 02:16:48 deraadt Exp $
.\"
.Dd June 25, 1992
.Dt STRTOL 3
@@ -46,13 +46,13 @@
.Fd #include <stdlib.h>
.Fd #include <limits.h>
.Ft long
-.Fn strtol "char *nptr" "char **endptr" "int base"
+.Fn strtol "const char *nptr" "char **endptr" "int base"
.Fd #include <sys/types.h>
.Fd #include <stdlib.h>
.Fd #include <limits.h>
.Ft quad_t
-.Fn strtoq "char *nptr" "char **endptr" "int base"
+.Fn strtoq "const char *nptr" "char **endptr" "int base"
.Sh DESCRIPTION
The
.Fn strtol