summaryrefslogtreecommitdiffstats
path: root/lib/libc/include
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2005-08-08 05:52:59 +0000
committerespie <espie@openbsd.org>2005-08-08 05:52:59 +0000
commit89b0597ffb10e0d16bfa3de8b972a4541f2a0524 (patch)
treeb2ef61505e738436223b16efce585092f08c86af /lib/libc/include
parentlots of cleanup, print lots of information based on new linkages between (diff)
downloadwireguard-openbsd-89b0597ffb10e0d16bfa3de8b972a4541f2a0524.tar.xz
wireguard-openbsd-89b0597ffb10e0d16bfa3de8b972a4541f2a0524.zip
activate LC_CTYPE for 8 bits locale.
Make sure tolower/toupper use the whole 8 bits. okay deraadt@ thanks to everyone who tested
Diffstat (limited to 'lib/libc/include')
-rw-r--r--lib/libc/include/ctype_private.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/include/ctype_private.h b/lib/libc/include/ctype_private.h
new file mode 100644
index 00000000000..39cc792ea44
--- /dev/null
+++ b/lib/libc/include/ctype_private.h
@@ -0,0 +1,7 @@
+/* $OpenBSD: ctype_private.h,v 1.1 2005/08/08 05:53:00 espie Exp $ */
+/* Written by Marc Espie, public domain */
+#define CTYPE_NUM_CHARS 256
+extern const char _C_ctype_[];
+extern const short _C_toupper_[];
+extern const short _C_tolower_[];
+