From 1f5854f397851334801365a03bcd6c6c1be0dee6 Mon Sep 17 00:00:00 2001 From: deraadt Date: Thu, 14 Dec 1995 02:16:48 +0000 Subject: [PATCH] make first arg of strtod/strtoq const --- lib/libc/stdlib/strtol.3 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.20.1