summaryrefslogtreecommitdiffstats
path: root/include/rune.h
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2002-09-06 04:22:54 +0000
committermike <mike@FreeBSD.org>2002-09-06 04:22:54 +0000
commitbd35b3e920b014e6540d4a213a68f58f62b22af4 (patch)
tree90db8c742daf9a123853305efdf6dba6606ab4b9 /include/rune.h
parenta6cef6d872101c69395e0d437f50502e0d58f08e (diff)
downloadFreeBSD-src-bd35b3e920b014e6540d4a213a68f58f62b22af4.zip
FreeBSD-src-bd35b3e920b014e6540d4a213a68f58f62b22af4.tar.gz
o Fix namespace scope issues in <ctype.h> by using the relatively new
visibility primitives. o Implement _tolower() and _toupper() POSIX.1-2001 (XSI) macros in <ctype.h>. o Reduce pollution in <runetype.h> by removing typedefs and using implementation namespaced types. o Add a typedef in <rune.h> to compensate for <runetype.h> losing its typedefs. Reviewed by: bde
Diffstat (limited to 'include/rune.h')
-rw-r--r--include/rune.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/rune.h b/include/rune.h
index c81603b..02a270f 100644
--- a/include/rune.h
+++ b/include/rune.h
@@ -40,8 +40,13 @@
#ifndef _RUNE_H_
#define _RUNE_H_
-#include <runetype.h>
#include <stdio.h>
+#include <runetype.h>
+
+#ifndef _RUNE_T_DECLARED
+#define _RUNE_T_DECLARED
+typedef __rune_t rune_t;
+#endif
#define _PATH_LOCALE "/usr/share/locale"
OpenPOWER on IntegriCloud