summaryrefslogtreecommitdiff
path: root/lib/libc/locale
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2005-04-14 20:59:11 +0000
committerMarc Espie <espie@cvs.openbsd.org>2005-04-14 20:59:11 +0000
commit8961b6d2bcfa838422b67f6facb27a1375abcd2f (patch)
treea44e4a49529af82e0aee3e4d2bab71f6eab9f8aa /lib/libc/locale
parentdb99574f1c4b47d92725407923b9f2447a166f03 (diff)
introduce some wchar functions (from citrus and an itojun@ diff)
okay deraadt@, cloder@, pvalchev@ thanks to everyone who commented on that.
Diffstat (limited to 'lib/libc/locale')
-rw-r--r--lib/libc/locale/Makefile.inc4
-rw-r--r--lib/libc/locale/runetype.h11
2 files changed, 14 insertions, 1 deletions
diff --git a/lib/libc/locale/Makefile.inc b/lib/libc/locale/Makefile.inc
index 0784dda22f3..d5b0ae30a2c 100644
--- a/lib/libc/locale/Makefile.inc
+++ b/lib/libc/locale/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.4 1998/11/20 11:18:42 d Exp $
+# $OpenBSD: Makefile.inc,v 1.5 2005/04/14 20:59:10 espie Exp $
# locale sources
.PATH: ${LIBCSRCDIR}/arch/${MACHINE_ARCH}/locale ${LIBCSRCDIR}/locale
@@ -8,3 +8,5 @@ SRCS+= _def_messages.c _def_monetary.c _def_numeric.c _def_time.c \
MAN+= nl_langinfo.3 setlocale.3
MLINKS+=setlocale.3 localeconv.3
+
+CFLAGS+=-I${.CURDIR}
diff --git a/lib/libc/locale/runetype.h b/lib/libc/locale/runetype.h
new file mode 100644
index 00000000000..f47d6a03129
--- /dev/null
+++ b/lib/libc/locale/runetype.h
@@ -0,0 +1,11 @@
+/* $OpenBSD: runetype.h,v 1.1 2005/04/14 20:59:10 espie Exp $ */
+
+#ifndef _NB_RUNETYPE_H_
+#define _NB_RUNETYPE_H_
+
+#include <sys/cdefs.h>
+#include <sys/types.h>
+
+typedef uint32_t __nbrune_t;
+
+#endif