summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/include
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2009-11-27 19:54:36 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2009-11-27 19:54:36 +0000
commit5f41f0b935b257c09b4ba9e02f6200ebe5ded15f (patch)
tree2c11b50e73818c1a5fdced20785a1b6d82d7ebb3 /sys/arch/sparc/include
parent7fd2c499074a7f0b6adb702b617d57e09581d5f5 (diff)
Move MB_LEN_MAX into the machine-independent sys/limits.h header,
rather than defining it separately for each architecture. Also set it to 4, to accommodate for future UTF-8 support (rfc3629). Diff by stsp, committing to catch the libc major bump ok kettenis@, guenther@
Diffstat (limited to 'sys/arch/sparc/include')
-rw-r--r--sys/arch/sparc/include/limits.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/sparc/include/limits.h b/sys/arch/sparc/include/limits.h
index d71b3a74ea8..ea9cf0b2de6 100644
--- a/sys/arch/sparc/include/limits.h
+++ b/sys/arch/sparc/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.11 2006/01/06 22:48:47 millert Exp $ */
+/* $OpenBSD: limits.h,v 1.12 2009/11/27 19:54:35 guenther Exp $ */
/* $NetBSD: limits.h,v 1.7 1996/01/05 18:10:57 pk Exp $ */
/*
@@ -32,8 +32,6 @@
* @(#)limits.h 8.3 (Berkeley) 1/4/94
*/
-#define MB_LEN_MAX 1 /* no multibyte characters */
-
#include <sys/cdefs.h>
#if __POSIX_VISIBLE || __XPG_VISIBLE