diff options
author | deraadt <> | 1995-12-14 02:16:48 +0000 |
---|---|---|
committer | deraadt <> | 1995-12-14 02:16:48 +0000 |
commit | 6ec4cf9527fb52a97d667d7a80512b556626d1bd (patch) | |
tree | 0d9019d7daf23df455cc947c1e18f59dc94e318e | |
parent | d9b989b3858d03910a5e1bdd23ecb6c78d002c4b (diff) | |
download | openbsd-6ec4cf9527fb52a97d667d7a80512b556626d1bd.tar.gz openbsd-6ec4cf9527fb52a97d667d7a80512b556626d1bd.tar.bz2 openbsd-6ec4cf9527fb52a97d667d7a80512b556626d1bd.zip |
make first arg of strtod/strtoq const
-rw-r--r-- | src/lib/libc/stdlib/strtol.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/stdlib/strtol.3 b/src/lib/libc/stdlib/strtol.3 index 808ba90165..506a7ace17 100644 --- a/src/lib/libc/stdlib/strtol.3 +++ b/src/lib/libc/stdlib/strtol.3 | |||
@@ -34,7 +34,7 @@ | |||
34 | .\" SUCH DAMAGE. | 34 | .\" SUCH DAMAGE. |
35 | .\" | 35 | .\" |
36 | .\" from: @(#)strtol.3 5.4 (Berkeley) 6/25/92 | 36 | .\" from: @(#)strtol.3 5.4 (Berkeley) 6/25/92 |
37 | .\" $Id: strtol.3,v 1.1.1.1 1995/10/18 08:42:19 deraadt Exp $ | 37 | .\" $Id: strtol.3,v 1.2 1995/12/14 02:16:48 deraadt Exp $ |
38 | .\" | 38 | .\" |
39 | .Dd June 25, 1992 | 39 | .Dd June 25, 1992 |
40 | .Dt STRTOL 3 | 40 | .Dt STRTOL 3 |
@@ -46,13 +46,13 @@ | |||
46 | .Fd #include <stdlib.h> | 46 | .Fd #include <stdlib.h> |
47 | .Fd #include <limits.h> | 47 | .Fd #include <limits.h> |
48 | .Ft long | 48 | .Ft long |
49 | .Fn strtol "char *nptr" "char **endptr" "int base" | 49 | .Fn strtol "const char *nptr" "char **endptr" "int base" |
50 | 50 | ||
51 | .Fd #include <sys/types.h> | 51 | .Fd #include <sys/types.h> |
52 | .Fd #include <stdlib.h> | 52 | .Fd #include <stdlib.h> |
53 | .Fd #include <limits.h> | 53 | .Fd #include <limits.h> |
54 | .Ft quad_t | 54 | .Ft quad_t |
55 | .Fn strtoq "char *nptr" "char **endptr" "int base" | 55 | .Fn strtoq "const char *nptr" "char **endptr" "int base" |
56 | .Sh DESCRIPTION | 56 | .Sh DESCRIPTION |
57 | The | 57 | The |
58 | .Fn strtol | 58 | .Fn strtol |