summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authortnozaki <tnozaki@NetBSD.org>2010-03-27 22:14:09 +0000
committertnozaki <tnozaki@NetBSD.org>2010-03-27 22:14:09 +0000
commit377cb4e4f979512871ce97f663f3d60573c44ce3 (patch)
treec59661436931e190db7c782b7842ba1ac28891c8 /include
parentd7055d4003c8d894ba04aac63a5c492ebceba0ca (diff)
1. {wctype,wctrans,mbstate}_t: switch MD to MI like other
libc implementation (such as *BSD and glibc2). 2. don't typedef void * wc{type,trans}_t, suggested by soda@-san. it may pass through compiler type check, it's harmful. so i introduce dummy struct __tag_wc{type,trans}_t(iconv_t already does). no ABI change was made.
Diffstat (limited to 'include')
-rw-r--r--include/wchar.h4
-rw-r--r--include/wctype.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/wchar.h b/include/wchar.h
index 3a58c841329..e7fc28349a6 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: wchar.h,v 1.28 2009/11/15 22:21:03 christos Exp $ */
+/* $NetBSD: wchar.h,v 1.29 2010/03/27 22:14:09 tnozaki Exp $ */
/*-
* Copyright (c)1999 Citrus Project,
@@ -60,8 +60,8 @@
#include <sys/cdefs.h>
#include <sys/featuretest.h>
-#include <machine/ansi.h>
#include <machine/wchar_limits.h>
+#include <sys/ansi.h>
#include <sys/null.h>
#include <stdio.h> /* for FILE* */
diff --git a/include/wctype.h b/include/wctype.h
index 3bdd9b3c8f6..b8689b15c48 100644
--- a/include/wctype.h
+++ b/include/wctype.h
@@ -1,4 +1,4 @@
-/* $NetBSD: wctype.h,v 1.6 2005/02/03 04:39:32 perry Exp $ */
+/* $NetBSD: wctype.h,v 1.7 2010/03/27 22:14:09 tnozaki Exp $ */
/*-
* Copyright (c)1999 Citrus Project,
@@ -32,7 +32,7 @@
#define _WCTYPE_H_
#include <sys/cdefs.h>
-#include <machine/ansi.h>
+#include <sys/ansi.h>
#ifdef _BSD_WINT_T_
typedef _BSD_WINT_T_ wint_t;