summaryrefslogtreecommitdiffstats
path: root/include/wchar.h
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-08-06 05:19:33 +0000
committertjr <tjr@FreeBSD.org>2002-08-06 05:19:33 +0000
commit464f6c7f7ec78584a5549de25db5d5f34c209372 (patch)
tree30af77648cc04bf59a0be866cdb4516cfaa09d55 /include/wchar.h
parentaf54199404f1484a38c3d167166435bcb4e90154 (diff)
downloadFreeBSD-src-464f6c7f7ec78584a5549de25db5d5f34c209372.zip
FreeBSD-src-464f6c7f7ec78584a5549de25db5d5f34c209372.tar.gz
Whitespace formatting changes: line up macro bodies, function names,
place tabs after #define and typedef. Sort typedefs by name. Requested by: mike
Diffstat (limited to 'include/wchar.h')
-rw-r--r--include/wchar.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/include/wchar.h b/include/wchar.h
index b4f19c7..963d923 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -73,6 +73,16 @@
#define NULL 0
#endif
+#ifdef _BSD_MBSTATE_T_
+typedef _BSD_MBSTATE_T_ mbstate_t;
+#undef _BSD_MBSTATE_T_
+#endif
+
+#ifdef _BSD_SIZE_T_
+typedef _BSD_SIZE_T_ size_t;
+#undef _BSD_SIZE_T_
+#endif
+
#ifndef __cplusplus
#ifdef _BSD_WCHAR_T_
typedef _BSD_WCHAR_T_ wchar_t;
@@ -80,9 +90,9 @@ typedef _BSD_WCHAR_T_ wchar_t;
#endif
#endif
-#ifdef _BSD_MBSTATE_T_
-typedef _BSD_MBSTATE_T_ mbstate_t;
-#undef _BSD_MBSTATE_T_
+#ifndef _WCTYPE_T
+typedef unsigned long wctype_t;
+#define _WCTYPE_T
#endif
#ifdef _BSD_WINT_T_
@@ -90,16 +100,6 @@ typedef _BSD_WINT_T_ wint_t;
#undef _BSD_WINT_T_
#endif
-#ifdef _BSD_SIZE_T_
-typedef _BSD_SIZE_T_ size_t;
-#undef _BSD_SIZE_T_
-#endif
-
-#ifndef _WCTYPE_T
-typedef unsigned long wctype_t;
-#define _WCTYPE_T
-#endif
-
#ifndef WEOF
#define WEOF ((wint_t)-1)
#endif
OpenPOWER on IntegriCloud