From: deraadt Date: Thu, 14 Dec 1995 02:16:48 +0000 (+0000) Subject: make first arg of strtod/strtoq const X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=1f5854f397851334801365a03bcd6c6c1be0dee6;p=openbsd make first arg of strtod/strtoq const --- diff --git a/lib/libc/stdlib/strtol.3 b/lib/libc/stdlib/strtol.3 index 808ba90165d..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.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 .Fd #include .Ft long -.Fn strtol "char *nptr" "char **endptr" "int base" +.Fn strtol "const char *nptr" "char **endptr" "int base" .Fd #include .Fd #include .Fd #include .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