summaryrefslogtreecommitdiffstats
path: root/sys/libkern
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2003-04-29 13:36:06 +0000
committerkan <kan@FreeBSD.org>2003-04-29 13:36:06 +0000
commit9468fdaf14ab3e5212aac4e764e4616b726ec850 (patch)
tree9f5fdcd6775a2bfa21ddfc84568b82ecb2815a2b /sys/libkern
parent4e1e1a4c31b3be0a9725f0b26280f63c5315d606 (diff)
downloadFreeBSD-src-9468fdaf14ab3e5212aac4e764e4616b726ec850.zip
FreeBSD-src-9468fdaf14ab3e5212aac4e764e4616b726ec850.tar.gz
Deprecate machine/limits.h in favor of new sys/limits.h.
Change all in-tree consumers to include <sys/limits.h> Discussed on: standards@ Partially submitted by: Craig Rodrigues <rodrigc@attbi.com>
Diffstat (limited to 'sys/libkern')
-rw-r--r--sys/libkern/quad.h2
-rw-r--r--sys/libkern/strtol.c2
-rw-r--r--sys/libkern/strtoq.c2
-rw-r--r--sys/libkern/strtoul.c2
-rw-r--r--sys/libkern/strtouq.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/sys/libkern/quad.h b/sys/libkern/quad.h
index a2566e2..0e48e12 100644
--- a/sys/libkern/quad.h
+++ b/sys/libkern/quad.h
@@ -59,8 +59,8 @@
#include <sys/cdefs.h>
#include <sys/types.h>
+#include <sys/limits.h>
#include <sys/syslimits.h>
-#include <machine/limits.h>
/*
* Depending on the desired operation, we view a `long long' (aka quad_t) in
diff --git a/sys/libkern/strtol.c b/sys/libkern/strtol.c
index f645cb5..9fb5e36 100644
--- a/sys/libkern/strtol.c
+++ b/sys/libkern/strtol.c
@@ -41,7 +41,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/ctype.h>
-#include <machine/limits.h>
+#include <sys/limits.h>
/*
* Convert a string to a long integer.
diff --git a/sys/libkern/strtoq.c b/sys/libkern/strtoq.c
index a1bb4ff..fa07081 100644
--- a/sys/libkern/strtoq.c
+++ b/sys/libkern/strtoq.c
@@ -39,7 +39,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/ctype.h>
-#include <machine/limits.h>
+#include <sys/limits.h>
/*
* Convert a string to a quad integer.
diff --git a/sys/libkern/strtoul.c b/sys/libkern/strtoul.c
index b5973ef..c9ca8e4 100644
--- a/sys/libkern/strtoul.c
+++ b/sys/libkern/strtoul.c
@@ -41,7 +41,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/ctype.h>
-#include <machine/limits.h>
+#include <sys/limits.h>
/*
* Convert a string to an unsigned long integer.
diff --git a/sys/libkern/strtouq.c b/sys/libkern/strtouq.c
index 7b6ca1a..f80f2b4 100644
--- a/sys/libkern/strtouq.c
+++ b/sys/libkern/strtouq.c
@@ -39,7 +39,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/ctype.h>
-#include <machine/limits.h>
+#include <sys/limits.h>
/*
* Convert a string to an unsigned quad integer.
OpenPOWER on IntegriCloud