diff options
author | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2007-11-13 18:30:05 +0000 |
---|---|---|
committer | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2007-11-13 18:30:05 +0000 |
commit | 9bd07ea5e32ce2deeece389ce89f8d05704db32a (patch) | |
tree | 207f2922250429f0374871331d76ae002fc61956 | |
parent | 3f7b80c238aae33aef6ee251c722bb10e7251a9e (diff) |
Put limits.h in front of stdlib.h as style(9) recommends.
OK millert@
-rw-r--r-- | lib/libc/stdlib/strtol.3 | 8 | ||||
-rw-r--r-- | lib/libc/stdlib/strtoul.3 | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/lib/libc/stdlib/strtol.3 b/lib/libc/stdlib/strtol.3 index 4eb767885ba..84d9a0c427d 100644 --- a/lib/libc/stdlib/strtol.3 +++ b/lib/libc/stdlib/strtol.3 @@ -29,9 +29,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: strtol.3,v 1.18 2007/06/29 18:54:37 millert Exp $ +.\" $OpenBSD: strtol.3,v 1.19 2007/11/13 18:30:04 tobias Exp $ .\" -.Dd $Mdocdate: June 29 2007 $ +.Dd $Mdocdate: November 13 2007 $ .Dt STRTOL 3 .Os .Sh NAME @@ -41,8 +41,8 @@ .Nm strtoq , .Nd "convert string value to a long, long long or intmax_t integer" .Sh SYNOPSIS -.Fd #include <stdlib.h> .Fd #include <limits.h> +.Fd #include <stdlib.h> .Ft long .Fn strtol "const char *nptr" "char **endptr" "int base" .Pp @@ -54,8 +54,8 @@ .Fn strtoimax "const char *nptr" "char **endptr" "int base" .Pp .Fd #include <sys/types.h> -.Fd #include <stdlib.h> .Fd #include <limits.h> +.Fd #include <stdlib.h> .Ft quad_t .Fn strtoq "const char *nptr" "char **endptr" "int base" .Sh DESCRIPTION diff --git a/lib/libc/stdlib/strtoul.3 b/lib/libc/stdlib/strtoul.3 index 30a09aa2891..a7c6bbfa18e 100644 --- a/lib/libc/stdlib/strtoul.3 +++ b/lib/libc/stdlib/strtoul.3 @@ -29,9 +29,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: strtoul.3,v 1.18 2007/06/29 18:54:37 millert Exp $ +.\" $OpenBSD: strtoul.3,v 1.19 2007/11/13 18:30:04 tobias Exp $ .\" -.Dd $Mdocdate: June 29 2007 $ +.Dd $Mdocdate: November 13 2007 $ .Dt STRTOUL 3 .Os .Sh NAME @@ -41,8 +41,8 @@ .Nm strtouq .Nd "convert a string to an unsigned long, unsigned long long or uintmax_t integer" .Sh SYNOPSIS -.Fd #include <stdlib.h> .Fd #include <limits.h> +.Fd #include <stdlib.h> .Ft unsigned long .Fn strtoul "const char *nptr" "char **endptr" "int base" .Pp @@ -54,8 +54,8 @@ .Fn strtoumax "const char *nptr" "char **endptr" "int base" .Pp .Fd #include <sys/types.h> -.Fd #include <stdlib.h> .Fd #include <limits.h> +.Fd #include <stdlib.h> .Ft u_quad_t .Fn strtouq "const char *nptr" "char **endptr" "int base" .Sh DESCRIPTION |