aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/limits.h2
-rw-r--r--sys/alpha/include/_limits.h1
-rw-r--r--sys/alpha/include/limits.h1
-rw-r--r--sys/amd64/include/_limits.h1
-rw-r--r--sys/amd64/include/limits.h1
-rw-r--r--sys/arm/include/_limits.h1
-rw-r--r--sys/arm/include/limits.h1
-rw-r--r--sys/i386/include/_limits.h1
-rw-r--r--sys/i386/include/limits.h1
-rw-r--r--sys/ia64/include/_limits.h1
-rw-r--r--sys/ia64/include/limits.h1
-rw-r--r--sys/powerpc/include/_limits.h1
-rw-r--r--sys/powerpc/include/limits.h1
-rw-r--r--sys/sparc64/include/_limits.h1
-rw-r--r--sys/sparc64/include/limits.h1
15 files changed, 2 insertions, 14 deletions
diff --git a/include/limits.h b/include/limits.h
index 8422db5cdf77..ca5edb21a5aa 100644
--- a/include/limits.h
+++ b/include/limits.h
@@ -123,6 +123,8 @@
#define NL_TEXTMAX 2048
#endif
+#define MB_LEN_MAX 6 /* 31-bit UTF-8 */
+
#include <machine/limits.h>
#if __POSIX_VISIBLE
diff --git a/sys/alpha/include/_limits.h b/sys/alpha/include/_limits.h
index 6dcca073c379..d45e08aee5f2 100644
--- a/sys/alpha/include/_limits.h
+++ b/sys/alpha/include/_limits.h
@@ -39,7 +39,6 @@
#define _MACHINE_LIMITS_H_
#define CHAR_BIT 8 /* number of bits in a char */
-#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
/*
* According to ANSI (section 2.2.4.2), the values below must be usable by
diff --git a/sys/alpha/include/limits.h b/sys/alpha/include/limits.h
index 6dcca073c379..d45e08aee5f2 100644
--- a/sys/alpha/include/limits.h
+++ b/sys/alpha/include/limits.h
@@ -39,7 +39,6 @@
#define _MACHINE_LIMITS_H_
#define CHAR_BIT 8 /* number of bits in a char */
-#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
/*
* According to ANSI (section 2.2.4.2), the values below must be usable by
diff --git a/sys/amd64/include/_limits.h b/sys/amd64/include/_limits.h
index a7e0306a8ae9..4f3afe122cec 100644
--- a/sys/amd64/include/_limits.h
+++ b/sys/amd64/include/_limits.h
@@ -40,7 +40,6 @@
#define _MACHINE_LIMITS_H_
#define CHAR_BIT 8 /* number of bits in a char */
-#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
/*
* According to ANSI (section 2.2.4.2), the values below must be usable by
diff --git a/sys/amd64/include/limits.h b/sys/amd64/include/limits.h
index a7e0306a8ae9..4f3afe122cec 100644
--- a/sys/amd64/include/limits.h
+++ b/sys/amd64/include/limits.h
@@ -40,7 +40,6 @@
#define _MACHINE_LIMITS_H_
#define CHAR_BIT 8 /* number of bits in a char */
-#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
/*
* According to ANSI (section 2.2.4.2), the values below must be usable by
diff --git a/sys/arm/include/_limits.h b/sys/arm/include/_limits.h
index 5eae4ad1eb28..b5e3bd1e68c7 100644
--- a/sys/arm/include/_limits.h
+++ b/sys/arm/include/_limits.h
@@ -38,7 +38,6 @@
#define _MACHINE_LIMITS_H_
#define CHAR_BIT 8 /* number of bits in a char */
-#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
/*
* According to ANSI (section 2.2.4.2), the values below must be usable by
diff --git a/sys/arm/include/limits.h b/sys/arm/include/limits.h
index 5eae4ad1eb28..b5e3bd1e68c7 100644
--- a/sys/arm/include/limits.h
+++ b/sys/arm/include/limits.h
@@ -38,7 +38,6 @@
#define _MACHINE_LIMITS_H_
#define CHAR_BIT 8 /* number of bits in a char */
-#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
/*
* According to ANSI (section 2.2.4.2), the values below must be usable by
diff --git a/sys/i386/include/_limits.h b/sys/i386/include/_limits.h
index 5eae4ad1eb28..b5e3bd1e68c7 100644
--- a/sys/i386/include/_limits.h
+++ b/sys/i386/include/_limits.h
@@ -38,7 +38,6 @@
#define _MACHINE_LIMITS_H_
#define CHAR_BIT 8 /* number of bits in a char */
-#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
/*
* According to ANSI (section 2.2.4.2), the values below must be usable by
diff --git a/sys/i386/include/limits.h b/sys/i386/include/limits.h
index 5eae4ad1eb28..b5e3bd1e68c7 100644
--- a/sys/i386/include/limits.h
+++ b/sys/i386/include/limits.h
@@ -38,7 +38,6 @@
#define _MACHINE_LIMITS_H_
#define CHAR_BIT 8 /* number of bits in a char */
-#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
/*
* According to ANSI (section 2.2.4.2), the values below must be usable by
diff --git a/sys/ia64/include/_limits.h b/sys/ia64/include/_limits.h
index 8c35805f96b1..2f9d6ede4eab 100644
--- a/sys/ia64/include/_limits.h
+++ b/sys/ia64/include/_limits.h
@@ -37,7 +37,6 @@
*/
#define CHAR_BIT 8 /* number of bits in a char */
-#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
/*
* According to ANSI (section 2.2.4.2), the values below must be usable by
diff --git a/sys/ia64/include/limits.h b/sys/ia64/include/limits.h
index 8c35805f96b1..2f9d6ede4eab 100644
--- a/sys/ia64/include/limits.h
+++ b/sys/ia64/include/limits.h
@@ -37,7 +37,6 @@
*/
#define CHAR_BIT 8 /* number of bits in a char */
-#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
/*
* According to ANSI (section 2.2.4.2), the values below must be usable by
diff --git a/sys/powerpc/include/_limits.h b/sys/powerpc/include/_limits.h
index 5eae4ad1eb28..b5e3bd1e68c7 100644
--- a/sys/powerpc/include/_limits.h
+++ b/sys/powerpc/include/_limits.h
@@ -38,7 +38,6 @@
#define _MACHINE_LIMITS_H_
#define CHAR_BIT 8 /* number of bits in a char */
-#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
/*
* According to ANSI (section 2.2.4.2), the values below must be usable by
diff --git a/sys/powerpc/include/limits.h b/sys/powerpc/include/limits.h
index 5eae4ad1eb28..b5e3bd1e68c7 100644
--- a/sys/powerpc/include/limits.h
+++ b/sys/powerpc/include/limits.h
@@ -38,7 +38,6 @@
#define _MACHINE_LIMITS_H_
#define CHAR_BIT 8 /* number of bits in a char */
-#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
/*
* According to ANSI (section 2.2.4.2), the values below must be usable by
diff --git a/sys/sparc64/include/_limits.h b/sys/sparc64/include/_limits.h
index dc2ef4476a18..4620e36aecd3 100644
--- a/sys/sparc64/include/_limits.h
+++ b/sys/sparc64/include/_limits.h
@@ -31,7 +31,6 @@
#define _MACHINE_LIMITS_H_
#define CHAR_BIT 8 /* number of bits in a char */
-#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
/*
* According to ANSI (section 2.2.4.2), the values below must be usable by
diff --git a/sys/sparc64/include/limits.h b/sys/sparc64/include/limits.h
index dc2ef4476a18..4620e36aecd3 100644
--- a/sys/sparc64/include/limits.h
+++ b/sys/sparc64/include/limits.h
@@ -31,7 +31,6 @@
#define _MACHINE_LIMITS_H_
#define CHAR_BIT 8 /* number of bits in a char */
-#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
/*
* According to ANSI (section 2.2.4.2), the values below must be usable by