summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/ctype/__C_ctype_b.c8
-rw-r--r--libc/misc/ctype/__C_ctype_tolower.c8
-rw-r--r--libc/misc/ctype/__C_ctype_toupper.c8
-rw-r--r--libc/misc/ctype/__ctype_assert.c8
-rw-r--r--libc/misc/ctype/__ctype_b_loc.c8
-rw-r--r--libc/misc/ctype/__ctype_tolower_loc.c8
-rw-r--r--libc/misc/ctype/__ctype_toupper_loc.c8
-rw-r--r--libc/misc/ctype/isalnum.c8
-rw-r--r--libc/misc/ctype/isalnum_l.c9
-rw-r--r--libc/misc/ctype/isalpha.c8
-rw-r--r--libc/misc/ctype/isalpha_l.c9
-rw-r--r--libc/misc/ctype/isascii.c8
-rw-r--r--libc/misc/ctype/isascii_l.c9
-rw-r--r--libc/misc/ctype/isblank.c8
-rw-r--r--libc/misc/ctype/isblank_l.c9
-rw-r--r--libc/misc/ctype/iscntrl.c8
-rw-r--r--libc/misc/ctype/iscntrl_l.c9
-rw-r--r--libc/misc/ctype/isctype.c8
-rw-r--r--libc/misc/ctype/isdigit.c8
-rw-r--r--libc/misc/ctype/isdigit_l.c9
-rw-r--r--libc/misc/ctype/isgraph.c8
-rw-r--r--libc/misc/ctype/isgraph_l.c9
-rw-r--r--libc/misc/ctype/islower.c8
-rw-r--r--libc/misc/ctype/islower_l.c9
-rw-r--r--libc/misc/ctype/isprint.c8
-rw-r--r--libc/misc/ctype/isprint_l.c9
-rw-r--r--libc/misc/ctype/ispunct.c8
-rw-r--r--libc/misc/ctype/ispunct_l.c9
-rw-r--r--libc/misc/ctype/isspace.c8
-rw-r--r--libc/misc/ctype/isspace_l.c9
-rw-r--r--libc/misc/ctype/isupper.c8
-rw-r--r--libc/misc/ctype/isupper_l.c9
-rw-r--r--libc/misc/ctype/isxdigit.c8
-rw-r--r--libc/misc/ctype/isxdigit_l.c9
-rw-r--r--libc/misc/ctype/toascii.c8
-rw-r--r--libc/misc/ctype/toascii_l.c9
-rw-r--r--libc/misc/ctype/tolower.c8
-rw-r--r--libc/misc/ctype/tolower_l.c9
-rw-r--r--libc/misc/ctype/toupper.c8
-rw-r--r--libc/misc/ctype/toupper_l.c9
-rw-r--r--libc/misc/locale/__curlocale.c9
-rw-r--r--libc/misc/locale/__locale_mbrtowc_l.c8
-rw-r--r--libc/misc/locale/_locale_init.c8
-rw-r--r--libc/misc/locale/duplocale.c9
-rw-r--r--libc/misc/locale/freelocale.c9
-rw-r--r--libc/misc/locale/localeconv.c8
-rw-r--r--libc/misc/locale/newlocale.c8
-rw-r--r--libc/misc/locale/nl_langinfo.c8
-rw-r--r--libc/misc/locale/nl_langinfo_l.c9
-rw-r--r--libc/misc/locale/setlocale.c8
-rw-r--r--libc/misc/locale/uselocale.c9
-rw-r--r--libc/misc/search/hcreate_r.c8
-rw-r--r--libc/misc/search/hdestroy_r.c8
-rw-r--r--libc/misc/search/hsearch_r.c8
-rw-r--r--libc/misc/search/insque.c8
-rw-r--r--libc/misc/search/lfind.c8
-rw-r--r--libc/misc/search/lsearch.c8
-rw-r--r--libc/misc/search/remque.c8
-rw-r--r--libc/misc/search/tdelete.c8
-rw-r--r--libc/misc/search/tdestroy.c8
-rw-r--r--libc/misc/search/tfind.c8
-rw-r--r--libc/misc/search/tsearch.c8
-rw-r--r--libc/misc/search/twalk.c8
-rw-r--r--libc/misc/sysvipc/msgctl.c8
-rw-r--r--libc/misc/sysvipc/msgget.c8
-rw-r--r--libc/misc/sysvipc/msgrcv.c8
-rw-r--r--libc/misc/sysvipc/msgsnd.c8
-rw-r--r--libc/misc/sysvipc/semctl.c8
-rw-r--r--libc/misc/sysvipc/semget.c8
-rw-r--r--libc/misc/sysvipc/semop.c8
-rw-r--r--libc/misc/sysvipc/shmat.c8
-rw-r--r--libc/misc/sysvipc/shmctl.c8
-rw-r--r--libc/misc/sysvipc/shmdt.c8
-rw-r--r--libc/misc/sysvipc/shmget.c8
-rw-r--r--libc/misc/time/__time_tm.c8
-rw-r--r--libc/misc/time/_time_localtime_tzi.c8
-rw-r--r--libc/misc/time/_time_mktime.c8
-rw-r--r--libc/misc/time/_time_mktime_tzi.c8
-rw-r--r--libc/misc/time/_time_t2tm.c8
-rw-r--r--libc/misc/time/asctime.c8
-rw-r--r--libc/misc/time/asctime_r.c8
-rw-r--r--libc/misc/time/clock.c8
-rw-r--r--libc/misc/time/ctime.c8
-rw-r--r--libc/misc/time/ctime_r.c8
-rw-r--r--libc/misc/time/difftime.c8
-rw-r--r--libc/misc/time/dysize.c8
-rw-r--r--libc/misc/time/gmtime.c8
-rw-r--r--libc/misc/time/gmtime_r.c8
-rw-r--r--libc/misc/time/localtime.c8
-rw-r--r--libc/misc/time/localtime_r.c8
-rw-r--r--libc/misc/time/mktime.c8
-rw-r--r--libc/misc/time/strftime.c8
-rw-r--r--libc/misc/time/strftime_l.c9
-rw-r--r--libc/misc/time/strptime.c8
-rw-r--r--libc/misc/time/strptime_l.c9
-rw-r--r--libc/misc/time/timegm.c8
-rw-r--r--libc/misc/time/tzset.c8
-rw-r--r--libc/misc/time/wcsftime.c8
-rw-r--r--libc/misc/time/wcsftime_l.c9
-rw-r--r--libc/misc/wchar/_wchar_utf8sntowcs.c8
-rw-r--r--libc/misc/wchar/_wchar_wcsntoutf8s.c8
-rw-r--r--libc/misc/wchar/btowc.c8
-rw-r--r--libc/misc/wchar/iconv.c8
-rw-r--r--libc/misc/wchar/mbrlen.c8
-rw-r--r--libc/misc/wchar/mbrtowc.c8
-rw-r--r--libc/misc/wchar/mbsinit.c8
-rw-r--r--libc/misc/wchar/mbsnrtowcs.c8
-rw-r--r--libc/misc/wchar/mbsrtowcs.c8
-rw-r--r--libc/misc/wchar/wcrtomb.c8
-rw-r--r--libc/misc/wchar/wcsnrtombs.c8
-rw-r--r--libc/misc/wchar/wcsrtombs.c8
-rw-r--r--libc/misc/wchar/wcswidth.c8
-rw-r--r--libc/misc/wchar/wctob.c8
-rw-r--r--libc/misc/wchar/wcwidth.c8
-rw-r--r--libc/misc/wctype/iswalnum.c8
-rw-r--r--libc/misc/wctype/iswalnum_l.c9
-rw-r--r--libc/misc/wctype/iswalpha.c8
-rw-r--r--libc/misc/wctype/iswalpha_l.c9
-rw-r--r--libc/misc/wctype/iswblank.c8
-rw-r--r--libc/misc/wctype/iswblank_l.c9
-rw-r--r--libc/misc/wctype/iswcntrl.c8
-rw-r--r--libc/misc/wctype/iswcntrl_l.c9
-rw-r--r--libc/misc/wctype/iswctype.c8
-rw-r--r--libc/misc/wctype/iswctype_l.c9
-rw-r--r--libc/misc/wctype/iswdigit.c8
-rw-r--r--libc/misc/wctype/iswdigit_l.c9
-rw-r--r--libc/misc/wctype/iswgraph.c8
-rw-r--r--libc/misc/wctype/iswgraph_l.c9
-rw-r--r--libc/misc/wctype/iswlower.c8
-rw-r--r--libc/misc/wctype/iswlower_l.c9
-rw-r--r--libc/misc/wctype/iswprint.c8
-rw-r--r--libc/misc/wctype/iswprint_l.c9
-rw-r--r--libc/misc/wctype/iswpunct.c8
-rw-r--r--libc/misc/wctype/iswpunct_l.c9
-rw-r--r--libc/misc/wctype/iswspace.c8
-rw-r--r--libc/misc/wctype/iswspace_l.c9
-rw-r--r--libc/misc/wctype/iswupper.c8
-rw-r--r--libc/misc/wctype/iswupper_l.c9
-rw-r--r--libc/misc/wctype/iswxdigit.c8
-rw-r--r--libc/misc/wctype/iswxdigit_l.c9
-rw-r--r--libc/misc/wctype/towctrans.c8
-rw-r--r--libc/misc/wctype/towctrans_l.c9
-rw-r--r--libc/misc/wctype/towlower.c8
-rw-r--r--libc/misc/wctype/towlower_l.c9
-rw-r--r--libc/misc/wctype/towupper.c8
-rw-r--r--libc/misc/wctype/towupper_l.c9
-rw-r--r--libc/misc/wctype/wctrans.c8
-rw-r--r--libc/misc/wctype/wctrans_l.c9
-rw-r--r--libc/misc/wctype/wctype.c8
-rw-r--r--libc/misc/wctype/wctype_l.c9
150 files changed, 1242 insertions, 0 deletions
diff --git a/libc/misc/ctype/__C_ctype_b.c b/libc/misc/ctype/__C_ctype_b.c
new file mode 100644
index 000000000..d22359f33
--- /dev/null
+++ b/libc/misc/ctype/__C_ctype_b.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L___C_ctype_b
+#include "ctype.c"
diff --git a/libc/misc/ctype/__C_ctype_tolower.c b/libc/misc/ctype/__C_ctype_tolower.c
new file mode 100644
index 000000000..fc6027f51
--- /dev/null
+++ b/libc/misc/ctype/__C_ctype_tolower.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L___C_ctype_tolower
+#include "ctype.c"
diff --git a/libc/misc/ctype/__C_ctype_toupper.c b/libc/misc/ctype/__C_ctype_toupper.c
new file mode 100644
index 000000000..ec42fbfbe
--- /dev/null
+++ b/libc/misc/ctype/__C_ctype_toupper.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L___C_ctype_toupper
+#include "ctype.c"
diff --git a/libc/misc/ctype/__ctype_assert.c b/libc/misc/ctype/__ctype_assert.c
new file mode 100644
index 000000000..fe459458c
--- /dev/null
+++ b/libc/misc/ctype/__ctype_assert.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L___ctype_assert
+#include "ctype.c"
diff --git a/libc/misc/ctype/__ctype_b_loc.c b/libc/misc/ctype/__ctype_b_loc.c
new file mode 100644
index 000000000..11d504693
--- /dev/null
+++ b/libc/misc/ctype/__ctype_b_loc.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L___ctype_b_loc
+#include "ctype.c"
diff --git a/libc/misc/ctype/__ctype_tolower_loc.c b/libc/misc/ctype/__ctype_tolower_loc.c
new file mode 100644
index 000000000..54037a598
--- /dev/null
+++ b/libc/misc/ctype/__ctype_tolower_loc.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L___ctype_tolower_loc
+#include "ctype.c"
diff --git a/libc/misc/ctype/__ctype_toupper_loc.c b/libc/misc/ctype/__ctype_toupper_loc.c
new file mode 100644
index 000000000..e511d0f72
--- /dev/null
+++ b/libc/misc/ctype/__ctype_toupper_loc.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L___ctype_toupper_loc
+#include "ctype.c"
diff --git a/libc/misc/ctype/isalnum.c b/libc/misc/ctype/isalnum.c
new file mode 100644
index 000000000..8bc8ad6d5
--- /dev/null
+++ b/libc/misc/ctype/isalnum.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_isalnum
+#include "ctype.c"
diff --git a/libc/misc/ctype/isalnum_l.c b/libc/misc/ctype/isalnum_l.c
new file mode 100644
index 000000000..8ecd9d59b
--- /dev/null
+++ b/libc/misc/ctype/isalnum_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_isalnum_l
+#define __UCLIBC_DO_XLOCALE
+#include "ctype.c"
diff --git a/libc/misc/ctype/isalpha.c b/libc/misc/ctype/isalpha.c
new file mode 100644
index 000000000..22f23d92c
--- /dev/null
+++ b/libc/misc/ctype/isalpha.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_isalpha
+#include "ctype.c"
diff --git a/libc/misc/ctype/isalpha_l.c b/libc/misc/ctype/isalpha_l.c
new file mode 100644
index 000000000..10a2ecfce
--- /dev/null
+++ b/libc/misc/ctype/isalpha_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_isalpha_l
+#define __UCLIBC_DO_XLOCALE
+#include "ctype.c"
diff --git a/libc/misc/ctype/isascii.c b/libc/misc/ctype/isascii.c
new file mode 100644
index 000000000..84f701f8d
--- /dev/null
+++ b/libc/misc/ctype/isascii.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_isascii
+#include "ctype.c"
diff --git a/libc/misc/ctype/isascii_l.c b/libc/misc/ctype/isascii_l.c
new file mode 100644
index 000000000..7fe5545b3
--- /dev/null
+++ b/libc/misc/ctype/isascii_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_isascii_l
+#define __UCLIBC_DO_XLOCALE
+#include "ctype.c"
diff --git a/libc/misc/ctype/isblank.c b/libc/misc/ctype/isblank.c
new file mode 100644
index 000000000..d11fe26cd
--- /dev/null
+++ b/libc/misc/ctype/isblank.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_isblank
+#include "ctype.c"
diff --git a/libc/misc/ctype/isblank_l.c b/libc/misc/ctype/isblank_l.c
new file mode 100644
index 000000000..144cd932d
--- /dev/null
+++ b/libc/misc/ctype/isblank_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_isblank_l
+#define __UCLIBC_DO_XLOCALE
+#include "ctype.c"
diff --git a/libc/misc/ctype/iscntrl.c b/libc/misc/ctype/iscntrl.c
new file mode 100644
index 000000000..4a0c09d36
--- /dev/null
+++ b/libc/misc/ctype/iscntrl.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_iscntrl
+#include "ctype.c"
diff --git a/libc/misc/ctype/iscntrl_l.c b/libc/misc/ctype/iscntrl_l.c
new file mode 100644
index 000000000..fbee951c4
--- /dev/null
+++ b/libc/misc/ctype/iscntrl_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_iscntrl_l
+#define __UCLIBC_DO_XLOCALE
+#include "ctype.c"
diff --git a/libc/misc/ctype/isctype.c b/libc/misc/ctype/isctype.c
new file mode 100644
index 000000000..a2d0b3dd8
--- /dev/null
+++ b/libc/misc/ctype/isctype.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_isctype
+#include "ctype.c"
diff --git a/libc/misc/ctype/isdigit.c b/libc/misc/ctype/isdigit.c
new file mode 100644
index 000000000..e185c89d5
--- /dev/null
+++ b/libc/misc/ctype/isdigit.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_isdigit
+#include "ctype.c"
diff --git a/libc/misc/ctype/isdigit_l.c b/libc/misc/ctype/isdigit_l.c
new file mode 100644
index 000000000..5b764f12f
--- /dev/null
+++ b/libc/misc/ctype/isdigit_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_isdigit_l
+#define __UCLIBC_DO_XLOCALE
+#include "ctype.c"
diff --git a/libc/misc/ctype/isgraph.c b/libc/misc/ctype/isgraph.c
new file mode 100644
index 000000000..c4ad1b7b5
--- /dev/null
+++ b/libc/misc/ctype/isgraph.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_isgraph
+#include "ctype.c"
diff --git a/libc/misc/ctype/isgraph_l.c b/libc/misc/ctype/isgraph_l.c
new file mode 100644
index 000000000..005e19fc8
--- /dev/null
+++ b/libc/misc/ctype/isgraph_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_isgraph_l
+#define __UCLIBC_DO_XLOCALE
+#include "ctype.c"
diff --git a/libc/misc/ctype/islower.c b/libc/misc/ctype/islower.c
new file mode 100644
index 000000000..aff65dd90
--- /dev/null
+++ b/libc/misc/ctype/islower.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_islower
+#include "ctype.c"
diff --git a/libc/misc/ctype/islower_l.c b/libc/misc/ctype/islower_l.c
new file mode 100644
index 000000000..dd085578f
--- /dev/null
+++ b/libc/misc/ctype/islower_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_islower_l
+#define __UCLIBC_DO_XLOCALE
+#include "ctype.c"
diff --git a/libc/misc/ctype/isprint.c b/libc/misc/ctype/isprint.c
new file mode 100644
index 000000000..b6f7d6cc1
--- /dev/null
+++ b/libc/misc/ctype/isprint.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_isprint
+#include "ctype.c"
diff --git a/libc/misc/ctype/isprint_l.c b/libc/misc/ctype/isprint_l.c
new file mode 100644
index 000000000..32f9b3f32
--- /dev/null
+++ b/libc/misc/ctype/isprint_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_isprint_l
+#define __UCLIBC_DO_XLOCALE
+#include "ctype.c"
diff --git a/libc/misc/ctype/ispunct.c b/libc/misc/ctype/ispunct.c
new file mode 100644
index 000000000..08f7b19ac
--- /dev/null
+++ b/libc/misc/ctype/ispunct.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_ispunct
+#include "ctype.c"
diff --git a/libc/misc/ctype/ispunct_l.c b/libc/misc/ctype/ispunct_l.c
new file mode 100644
index 000000000..513bb5238
--- /dev/null
+++ b/libc/misc/ctype/ispunct_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_ispunct_l
+#define __UCLIBC_DO_XLOCALE
+#include "ctype.c"
diff --git a/libc/misc/ctype/isspace.c b/libc/misc/ctype/isspace.c
new file mode 100644
index 000000000..c8ff56746
--- /dev/null
+++ b/libc/misc/ctype/isspace.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_isspace
+#include "ctype.c"
diff --git a/libc/misc/ctype/isspace_l.c b/libc/misc/ctype/isspace_l.c
new file mode 100644
index 000000000..97e0c9921
--- /dev/null
+++ b/libc/misc/ctype/isspace_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_isspace_l
+#define __UCLIBC_DO_XLOCALE
+#include "ctype.c"
diff --git a/libc/misc/ctype/isupper.c b/libc/misc/ctype/isupper.c
new file mode 100644
index 000000000..36d6e6e96
--- /dev/null
+++ b/libc/misc/ctype/isupper.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_isupper
+#include "ctype.c"
diff --git a/libc/misc/ctype/isupper_l.c b/libc/misc/ctype/isupper_l.c
new file mode 100644
index 000000000..8aa4dbdfa
--- /dev/null
+++ b/libc/misc/ctype/isupper_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_isupper_l
+#define __UCLIBC_DO_XLOCALE
+#include "ctype.c"
diff --git a/libc/misc/ctype/isxdigit.c b/libc/misc/ctype/isxdigit.c
new file mode 100644
index 000000000..40919f7bf
--- /dev/null
+++ b/libc/misc/ctype/isxdigit.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_isxdigit
+#include "ctype.c"
diff --git a/libc/misc/ctype/isxdigit_l.c b/libc/misc/ctype/isxdigit_l.c
new file mode 100644
index 000000000..5dce7f1a5
--- /dev/null
+++ b/libc/misc/ctype/isxdigit_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_isxdigit_l
+#define __UCLIBC_DO_XLOCALE
+#include "ctype.c"
diff --git a/libc/misc/ctype/toascii.c b/libc/misc/ctype/toascii.c
new file mode 100644
index 000000000..a63b99344
--- /dev/null
+++ b/libc/misc/ctype/toascii.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_toascii
+#include "ctype.c"
diff --git a/libc/misc/ctype/toascii_l.c b/libc/misc/ctype/toascii_l.c
new file mode 100644
index 000000000..617952639
--- /dev/null
+++ b/libc/misc/ctype/toascii_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_toascii_l
+#define __UCLIBC_DO_XLOCALE
+#include "ctype.c"
diff --git a/libc/misc/ctype/tolower.c b/libc/misc/ctype/tolower.c
new file mode 100644
index 000000000..3673642c4
--- /dev/null
+++ b/libc/misc/ctype/tolower.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_tolower
+#include "ctype.c"
diff --git a/libc/misc/ctype/tolower_l.c b/libc/misc/ctype/tolower_l.c
new file mode 100644
index 000000000..327e63cae
--- /dev/null
+++ b/libc/misc/ctype/tolower_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_tolower_l
+#define __UCLIBC_DO_XLOCALE
+#include "ctype.c"
diff --git a/libc/misc/ctype/toupper.c b/libc/misc/ctype/toupper.c
new file mode 100644
index 000000000..a9d8aab6d
--- /dev/null
+++ b/libc/misc/ctype/toupper.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_toupper
+#include "ctype.c"
diff --git a/libc/misc/ctype/toupper_l.c b/libc/misc/ctype/toupper_l.c
new file mode 100644
index 000000000..c91d79151
--- /dev/null
+++ b/libc/misc/ctype/toupper_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2003-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_toupper_l
+#define __UCLIBC_DO_XLOCALE
+#include "ctype.c"
diff --git a/libc/misc/locale/__curlocale.c b/libc/misc/locale/__curlocale.c
new file mode 100644
index 000000000..aa38f4346
--- /dev/null
+++ b/libc/misc/locale/__curlocale.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2004-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L___curlocale
+#define __UCLIBC_DO_XLOCALE
+#include "locale.c"
diff --git a/libc/misc/locale/__locale_mbrtowc_l.c b/libc/misc/locale/__locale_mbrtowc_l.c
new file mode 100644
index 000000000..ea7fbceb7
--- /dev/null
+++ b/libc/misc/locale/__locale_mbrtowc_l.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2004-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L___locale_mbrtowc_l
+#include "locale.c"
diff --git a/libc/misc/locale/_locale_init.c b/libc/misc/locale/_locale_init.c
new file mode 100644
index 000000000..9ced732a7
--- /dev/null
+++ b/libc/misc/locale/_locale_init.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2004-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L__locale_init
+#include "locale.c"
diff --git a/libc/misc/locale/duplocale.c b/libc/misc/locale/duplocale.c
new file mode 100644
index 000000000..db9c7a3c1
--- /dev/null
+++ b/libc/misc/locale/duplocale.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2004-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_duplocale
+#define __UCLIBC_DO_XLOCALE
+#include "locale.c"
diff --git a/libc/misc/locale/freelocale.c b/libc/misc/locale/freelocale.c
new file mode 100644
index 000000000..c1ef8e1ca
--- /dev/null
+++ b/libc/misc/locale/freelocale.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2004-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_freelocale
+#define __UCLIBC_DO_XLOCALE
+#include "locale.c"
diff --git a/libc/misc/locale/localeconv.c b/libc/misc/locale/localeconv.c
new file mode 100644
index 000000000..7e67fb249
--- /dev/null
+++ b/libc/misc/locale/localeconv.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2004-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_localeconv
+#include "locale.c"
diff --git a/libc/misc/locale/newlocale.c b/libc/misc/locale/newlocale.c
new file mode 100644
index 000000000..a9868849f
--- /dev/null
+++ b/libc/misc/locale/newlocale.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2004-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_newlocale
+#include "locale.c"
diff --git a/libc/misc/locale/nl_langinfo.c b/libc/misc/locale/nl_langinfo.c
new file mode 100644
index 000000000..0bc0a002b
--- /dev/null
+++ b/libc/misc/locale/nl_langinfo.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2004-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_nl_langinfo
+#include "locale.c"
diff --git a/libc/misc/locale/nl_langinfo_l.c b/libc/misc/locale/nl_langinfo_l.c
new file mode 100644
index 000000000..7205ccab1
--- /dev/null
+++ b/libc/misc/locale/nl_langinfo_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2004-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_nl_langinfo_l
+#define __UCLIBC_DO_XLOCALE
+#include "locale.c"
diff --git a/libc/misc/locale/setlocale.c b/libc/misc/locale/setlocale.c
new file mode 100644
index 000000000..1eae88aca
--- /dev/null
+++ b/libc/misc/locale/setlocale.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2004-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_setlocale
+#include "locale.c"
diff --git a/libc/misc/locale/uselocale.c b/libc/misc/locale/uselocale.c
new file mode 100644
index 000000000..2aecc5498
--- /dev/null
+++ b/libc/misc/locale/uselocale.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2004-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_uselocale
+#define __UCLIBC_DO_XLOCALE
+#include "locale.c"
diff --git a/libc/misc/search/hcreate_r.c b/libc/misc/search/hcreate_r.c
new file mode 100644
index 000000000..b62991e46
--- /dev/null
+++ b/libc/misc/search/hcreate_r.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_hcreate_r
+#include "_hsearch_r.c"
diff --git a/libc/misc/search/hdestroy_r.c b/libc/misc/search/hdestroy_r.c
new file mode 100644
index 000000000..98e1ddbe7
--- /dev/null
+++ b/libc/misc/search/hdestroy_r.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_hdestroy_r
+#include "_hsearch_r.c"
diff --git a/libc/misc/search/hsearch_r.c b/libc/misc/search/hsearch_r.c
new file mode 100644
index 000000000..48bdf2d61
--- /dev/null
+++ b/libc/misc/search/hsearch_r.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_hsearch_r
+#include "_hsearch_r.c"
diff --git a/libc/misc/search/insque.c b/libc/misc/search/insque.c
new file mode 100644
index 000000000..fc5bf807e
--- /dev/null
+++ b/libc/misc/search/insque.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_insque
+#include "insremque.c"
diff --git a/libc/misc/search/lfind.c b/libc/misc/search/lfind.c
new file mode 100644
index 000000000..66111c5a4
--- /dev/null
+++ b/libc/misc/search/lfind.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_lfind
+#include "_lsearch.c"
diff --git a/libc/misc/search/lsearch.c b/libc/misc/search/lsearch.c
new file mode 100644
index 000000000..1e632975f
--- /dev/null
+++ b/libc/misc/search/lsearch.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_lsearch
+#include "_lsearch.c"
diff --git a/libc/misc/search/remque.c b/libc/misc/search/remque.c
new file mode 100644
index 000000000..bab698505
--- /dev/null
+++ b/libc/misc/search/remque.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_remque
+#include "insremque.c"
diff --git a/libc/misc/search/tdelete.c b/libc/misc/search/tdelete.c
new file mode 100644
index 000000000..33d9fe8a6
--- /dev/null
+++ b/libc/misc/search/tdelete.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_tdelete
+#include "_tsearch.c"
diff --git a/libc/misc/search/tdestroy.c b/libc/misc/search/tdestroy.c
new file mode 100644
index 000000000..3e397ea8c
--- /dev/null
+++ b/libc/misc/search/tdestroy.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_tdestroy
+#include "_tsearch.c"
diff --git a/libc/misc/search/tfind.c b/libc/misc/search/tfind.c
new file mode 100644
index 000000000..e5a316172
--- /dev/null
+++ b/libc/misc/search/tfind.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_tfind
+#include "_tsearch.c"
diff --git a/libc/misc/search/tsearch.c b/libc/misc/search/tsearch.c
new file mode 100644
index 000000000..8984fc1d5
--- /dev/null
+++ b/libc/misc/search/tsearch.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_tsearch
+#include "_tsearch.c"
diff --git a/libc/misc/search/twalk.c b/libc/misc/search/twalk.c
new file mode 100644
index 000000000..f36d341f5
--- /dev/null
+++ b/libc/misc/search/twalk.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_twalk
+#include "_tsearch.c"
diff --git a/libc/misc/sysvipc/msgctl.c b/libc/misc/sysvipc/msgctl.c
new file mode 100644
index 000000000..480a54cbb
--- /dev/null
+++ b/libc/misc/sysvipc/msgctl.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_msgctl
+#include "msgq.c"
diff --git a/libc/misc/sysvipc/msgget.c b/libc/misc/sysvipc/msgget.c
new file mode 100644
index 000000000..f7e54d5c8
--- /dev/null
+++ b/libc/misc/sysvipc/msgget.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_msgget
+#include "msgq.c"
diff --git a/libc/misc/sysvipc/msgrcv.c b/libc/misc/sysvipc/msgrcv.c
new file mode 100644
index 000000000..a85e52a99
--- /dev/null
+++ b/libc/misc/sysvipc/msgrcv.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_msgrcv
+#include "msgq.c"
diff --git a/libc/misc/sysvipc/msgsnd.c b/libc/misc/sysvipc/msgsnd.c
new file mode 100644
index 000000000..9f09d1fd4
--- /dev/null
+++ b/libc/misc/sysvipc/msgsnd.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_msgsnd
+#include "msgq.c"
diff --git a/libc/misc/sysvipc/semctl.c b/libc/misc/sysvipc/semctl.c
new file mode 100644
index 000000000..df62a76e3
--- /dev/null
+++ b/libc/misc/sysvipc/semctl.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_semctl
+#include "sem.c"
diff --git a/libc/misc/sysvipc/semget.c b/libc/misc/sysvipc/semget.c
new file mode 100644
index 000000000..94d0b5dad
--- /dev/null
+++ b/libc/misc/sysvipc/semget.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_semget
+#include "sem.c"
diff --git a/libc/misc/sysvipc/semop.c b/libc/misc/sysvipc/semop.c
new file mode 100644
index 000000000..0c67f62f3
--- /dev/null
+++ b/libc/misc/sysvipc/semop.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_semop
+#include "sem.c"
diff --git a/libc/misc/sysvipc/shmat.c b/libc/misc/sysvipc/shmat.c
new file mode 100644
index 000000000..d6cd22a59
--- /dev/null
+++ b/libc/misc/sysvipc/shmat.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_shmat
+#include "shm.c"
diff --git a/libc/misc/sysvipc/shmctl.c b/libc/misc/sysvipc/shmctl.c
new file mode 100644
index 000000000..90fab5a25
--- /dev/null
+++ b/libc/misc/sysvipc/shmctl.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_shmctl
+#include "shm.c"
diff --git a/libc/misc/sysvipc/shmdt.c b/libc/misc/sysvipc/shmdt.c
new file mode 100644
index 000000000..078334136
--- /dev/null
+++ b/libc/misc/sysvipc/shmdt.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_shmdt
+#include "shm.c"
diff --git a/libc/misc/sysvipc/shmget.c b/libc/misc/sysvipc/shmget.c
new file mode 100644
index 000000000..4778e3619
--- /dev/null
+++ b/libc/misc/sysvipc/shmget.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_shmget
+#include "shm.c"
diff --git a/libc/misc/time/__time_tm.c b/libc/misc/time/__time_tm.c
new file mode 100644
index 000000000..59b7d8aac
--- /dev/null
+++ b/libc/misc/time/__time_tm.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L___time_tm
+#include "time.c"
diff --git a/libc/misc/time/_time_localtime_tzi.c b/libc/misc/time/_time_localtime_tzi.c
new file mode 100644
index 000000000..32728a491
--- /dev/null
+++ b/libc/misc/time/_time_localtime_tzi.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L__time_localtime_tzi
+#include "time.c"
diff --git a/libc/misc/time/_time_mktime.c b/libc/misc/time/_time_mktime.c
new file mode 100644
index 000000000..1fd920020
--- /dev/null
+++ b/libc/misc/time/_time_mktime.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L__time_mktime
+#include "time.c"
diff --git a/libc/misc/time/_time_mktime_tzi.c b/libc/misc/time/_time_mktime_tzi.c
new file mode 100644
index 000000000..543893e6a
--- /dev/null
+++ b/libc/misc/time/_time_mktime_tzi.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L__time_mktime_tzi
+#include "time.c"
diff --git a/libc/misc/time/_time_t2tm.c b/libc/misc/time/_time_t2tm.c
new file mode 100644
index 000000000..903651ffd
--- /dev/null
+++ b/libc/misc/time/_time_t2tm.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L__time_t2tm
+#include "time.c"
diff --git a/libc/misc/time/asctime.c b/libc/misc/time/asctime.c
new file mode 100644
index 000000000..d80c017a6
--- /dev/null
+++ b/libc/misc/time/asctime.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_asctime
+#include "time.c"
diff --git a/libc/misc/time/asctime_r.c b/libc/misc/time/asctime_r.c
new file mode 100644
index 000000000..aec38b139
--- /dev/null
+++ b/libc/misc/time/asctime_r.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_asctime_r
+#include "time.c"
diff --git a/libc/misc/time/clock.c b/libc/misc/time/clock.c
new file mode 100644
index 000000000..9cc425412
--- /dev/null
+++ b/libc/misc/time/clock.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_clock
+#include "time.c"
diff --git a/libc/misc/time/ctime.c b/libc/misc/time/ctime.c
new file mode 100644
index 000000000..4bd09a8a9
--- /dev/null
+++ b/libc/misc/time/ctime.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_ctime
+#include "time.c"
diff --git a/libc/misc/time/ctime_r.c b/libc/misc/time/ctime_r.c
new file mode 100644
index 000000000..c03f5c95d
--- /dev/null
+++ b/libc/misc/time/ctime_r.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_ctime_r
+#include "time.c"
diff --git a/libc/misc/time/difftime.c b/libc/misc/time/difftime.c
new file mode 100644
index 000000000..4bcec2c06
--- /dev/null
+++ b/libc/misc/time/difftime.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_difftime
+#include "time.c"
diff --git a/libc/misc/time/dysize.c b/libc/misc/time/dysize.c
new file mode 100644
index 000000000..b1bf84b64
--- /dev/null
+++ b/libc/misc/time/dysize.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_dysize
+#include "time.c"
diff --git a/libc/misc/time/gmtime.c b/libc/misc/time/gmtime.c
new file mode 100644
index 000000000..24a512c03
--- /dev/null
+++ b/libc/misc/time/gmtime.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_gmtime
+#include "time.c"
diff --git a/libc/misc/time/gmtime_r.c b/libc/misc/time/gmtime_r.c
new file mode 100644
index 000000000..8677dd2d6
--- /dev/null
+++ b/libc/misc/time/gmtime_r.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_gmtime_r
+#include "time.c"
diff --git a/libc/misc/time/localtime.c b/libc/misc/time/localtime.c
new file mode 100644
index 000000000..e4bffbd2d
--- /dev/null
+++ b/libc/misc/time/localtime.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_localtime
+#include "time.c"
diff --git a/libc/misc/time/localtime_r.c b/libc/misc/time/localtime_r.c
new file mode 100644
index 000000000..5351834b2
--- /dev/null
+++ b/libc/misc/time/localtime_r.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_localtime_r
+#include "time.c"
diff --git a/libc/misc/time/mktime.c b/libc/misc/time/mktime.c
new file mode 100644
index 000000000..2b2c8e459
--- /dev/null
+++ b/libc/misc/time/mktime.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_mktime
+#include "time.c"
diff --git a/libc/misc/time/strftime.c b/libc/misc/time/strftime.c
new file mode 100644
index 000000000..2eb827dad
--- /dev/null
+++ b/libc/misc/time/strftime.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_strftime
+#include "time.c"
diff --git a/libc/misc/time/strftime_l.c b/libc/misc/time/strftime_l.c
new file mode 100644
index 000000000..e1d34ad4a
--- /dev/null
+++ b/libc/misc/time/strftime_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_strftime_l
+#define __UCLIBC_DO_XLOCALE
+#include "time.c"
diff --git a/libc/misc/time/strptime.c b/libc/misc/time/strptime.c
new file mode 100644
index 000000000..771633fb6
--- /dev/null
+++ b/libc/misc/time/strptime.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_strptime
+#include "time.c"
diff --git a/libc/misc/time/strptime_l.c b/libc/misc/time/strptime_l.c
new file mode 100644
index 000000000..16ee7e1bd
--- /dev/null
+++ b/libc/misc/time/strptime_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_strptime_l
+#define __UCLIBC_DO_XLOCALE
+#include "time.c"
diff --git a/libc/misc/time/timegm.c b/libc/misc/time/timegm.c
new file mode 100644
index 000000000..ae2fc7df5
--- /dev/null
+++ b/libc/misc/time/timegm.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_timegm
+#include "time.c"
diff --git a/libc/misc/time/tzset.c b/libc/misc/time/tzset.c
new file mode 100644
index 000000000..e5607a51b
--- /dev/null
+++ b/libc/misc/time/tzset.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_tzset
+#include "time.c"
diff --git a/libc/misc/time/wcsftime.c b/libc/misc/time/wcsftime.c
new file mode 100644
index 000000000..e4b25c0d1
--- /dev/null
+++ b/libc/misc/time/wcsftime.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_wcsftime
+#include "time.c"
diff --git a/libc/misc/time/wcsftime_l.c b/libc/misc/time/wcsftime_l.c
new file mode 100644
index 000000000..68c295458
--- /dev/null
+++ b/libc/misc/time/wcsftime_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_wcsftime_l
+#define __UCLIBC_DO_XLOCALE
+#include "time.c"
diff --git a/libc/misc/wchar/_wchar_utf8sntowcs.c b/libc/misc/wchar/_wchar_utf8sntowcs.c
new file mode 100644
index 000000000..a01990ebd
--- /dev/null
+++ b/libc/misc/wchar/_wchar_utf8sntowcs.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2004-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L__wchar_utf8sntowcs
+#include "wchar.c"
diff --git a/libc/misc/wchar/_wchar_wcsntoutf8s.c b/libc/misc/wchar/_wchar_wcsntoutf8s.c
new file mode 100644
index 000000000..a63aa9114
--- /dev/null
+++ b/libc/misc/wchar/_wchar_wcsntoutf8s.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2004-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L__wchar_wcsntoutf8s
+#include "wchar.c"
diff --git a/libc/misc/wchar/btowc.c b/libc/misc/wchar/btowc.c
new file mode 100644
index 000000000..d5e60ce6c
--- /dev/null
+++ b/libc/misc/wchar/btowc.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2004-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_btowc
+#include "wchar.c"
diff --git a/libc/misc/wchar/iconv.c b/libc/misc/wchar/iconv.c
new file mode 100644
index 000000000..e6e8ea881
--- /dev/null
+++ b/libc/misc/wchar/iconv.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2004-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_iconv
+#include "wchar.c"
diff --git a/libc/misc/wchar/mbrlen.c b/libc/misc/wchar/mbrlen.c
new file mode 100644
index 000000000..01bd31ebc
--- /dev/null
+++ b/libc/misc/wchar/mbrlen.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2004-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_mbrlen
+#include "wchar.c"
diff --git a/libc/misc/wchar/mbrtowc.c b/libc/misc/wchar/mbrtowc.c
new file mode 100644
index 000000000..76ce28a71
--- /dev/null
+++ b/libc/misc/wchar/mbrtowc.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2004-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_mbrtowc
+#include "wchar.c"
diff --git a/libc/misc/wchar/mbsinit.c b/libc/misc/wchar/mbsinit.c
new file mode 100644
index 000000000..23aaac50f
--- /dev/null
+++ b/libc/misc/wchar/mbsinit.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2004-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_mbsinit
+#include "wchar.c"
diff --git a/libc/misc/wchar/mbsnrtowcs.c b/libc/misc/wchar/mbsnrtowcs.c
new file mode 100644
index 000000000..9b407c1d8
--- /dev/null
+++ b/libc/misc/wchar/mbsnrtowcs.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2004-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_mbsnrtowcs
+#include "wchar.c"
diff --git a/libc/misc/wchar/mbsrtowcs.c b/libc/misc/wchar/mbsrtowcs.c
new file mode 100644
index 000000000..dd47a91a3
--- /dev/null
+++ b/libc/misc/wchar/mbsrtowcs.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2004-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_mbsrtowcs
+#include "wchar.c"
diff --git a/libc/misc/wchar/wcrtomb.c b/libc/misc/wchar/wcrtomb.c
new file mode 100644
index 000000000..91eb3062d
--- /dev/null
+++ b/libc/misc/wchar/wcrtomb.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2004-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_wcrtomb
+#include "wchar.c"
diff --git a/libc/misc/wchar/wcsnrtombs.c b/libc/misc/wchar/wcsnrtombs.c
new file mode 100644
index 000000000..af9d6c33d
--- /dev/null
+++ b/libc/misc/wchar/wcsnrtombs.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2004-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_wcsnrtombs
+#include "wchar.c"
diff --git a/libc/misc/wchar/wcsrtombs.c b/libc/misc/wchar/wcsrtombs.c
new file mode 100644
index 000000000..e5b6c0b38
--- /dev/null
+++ b/libc/misc/wchar/wcsrtombs.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2004-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_wcsrtombs
+#include "wchar.c"
diff --git a/libc/misc/wchar/wcswidth.c b/libc/misc/wchar/wcswidth.c
new file mode 100644
index 000000000..3d955a21c
--- /dev/null
+++ b/libc/misc/wchar/wcswidth.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2004-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_wcswidth
+#include "wchar.c"
diff --git a/libc/misc/wchar/wctob.c b/libc/misc/wchar/wctob.c
new file mode 100644
index 000000000..88d31f5ad
--- /dev/null
+++ b/libc/misc/wchar/wctob.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2004-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_wctob
+#include "wchar.c"
diff --git a/libc/misc/wchar/wcwidth.c b/libc/misc/wchar/wcwidth.c
new file mode 100644
index 000000000..6c4a34476
--- /dev/null
+++ b/libc/misc/wchar/wcwidth.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2004-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_wcwidth
+#include "wchar.c"
diff --git a/libc/misc/wctype/iswalnum.c b/libc/misc/wctype/iswalnum.c
new file mode 100644
index 000000000..a85a03dc8
--- /dev/null
+++ b/libc/misc/wctype/iswalnum.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_iswalnum
+#include "_wctype.c"
diff --git a/libc/misc/wctype/iswalnum_l.c b/libc/misc/wctype/iswalnum_l.c
new file mode 100644
index 000000000..6e3cd7770
--- /dev/null
+++ b/libc/misc/wctype/iswalnum_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_iswalnum_l
+#define __UCLIBC_DO_XLOCALE
+#include "_wctype.c"
diff --git a/libc/misc/wctype/iswalpha.c b/libc/misc/wctype/iswalpha.c
new file mode 100644
index 000000000..6b829eb82
--- /dev/null
+++ b/libc/misc/wctype/iswalpha.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_iswalpha
+#include "_wctype.c"
diff --git a/libc/misc/wctype/iswalpha_l.c b/libc/misc/wctype/iswalpha_l.c
new file mode 100644
index 000000000..79b11cf72
--- /dev/null
+++ b/libc/misc/wctype/iswalpha_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_iswalpha_l
+#define __UCLIBC_DO_XLOCALE
+#include "_wctype.c"
diff --git a/libc/misc/wctype/iswblank.c b/libc/misc/wctype/iswblank.c
new file mode 100644
index 000000000..67862d59e
--- /dev/null
+++ b/libc/misc/wctype/iswblank.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_iswblank
+#include "_wctype.c"
diff --git a/libc/misc/wctype/iswblank_l.c b/libc/misc/wctype/iswblank_l.c
new file mode 100644
index 000000000..4c5709cf8
--- /dev/null
+++ b/libc/misc/wctype/iswblank_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_iswblank_l
+#define __UCLIBC_DO_XLOCALE
+#include "_wctype.c"
diff --git a/libc/misc/wctype/iswcntrl.c b/libc/misc/wctype/iswcntrl.c
new file mode 100644
index 000000000..50d72b46f
--- /dev/null
+++ b/libc/misc/wctype/iswcntrl.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_iswcntrl
+#include "_wctype.c"
diff --git a/libc/misc/wctype/iswcntrl_l.c b/libc/misc/wctype/iswcntrl_l.c
new file mode 100644
index 000000000..2fe64d744
--- /dev/null
+++ b/libc/misc/wctype/iswcntrl_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_iswcntrl_l
+#define __UCLIBC_DO_XLOCALE
+#include "_wctype.c"
diff --git a/libc/misc/wctype/iswctype.c b/libc/misc/wctype/iswctype.c
new file mode 100644
index 000000000..777d41048
--- /dev/null
+++ b/libc/misc/wctype/iswctype.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_iswctype
+#include "_wctype.c"
diff --git a/libc/misc/wctype/iswctype_l.c b/libc/misc/wctype/iswctype_l.c
new file mode 100644
index 000000000..71bce184e
--- /dev/null
+++ b/libc/misc/wctype/iswctype_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_iswctype_l
+#define __UCLIBC_DO_XLOCALE
+#include "_wctype.c"
diff --git a/libc/misc/wctype/iswdigit.c b/libc/misc/wctype/iswdigit.c
new file mode 100644
index 000000000..b2aa5d00a
--- /dev/null
+++ b/libc/misc/wctype/iswdigit.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_iswdigit
+#include "_wctype.c"
diff --git a/libc/misc/wctype/iswdigit_l.c b/libc/misc/wctype/iswdigit_l.c
new file mode 100644
index 000000000..4832c9c80
--- /dev/null
+++ b/libc/misc/wctype/iswdigit_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_iswdigit_l
+#define __UCLIBC_DO_XLOCALE
+#include "_wctype.c"
diff --git a/libc/misc/wctype/iswgraph.c b/libc/misc/wctype/iswgraph.c
new file mode 100644
index 000000000..8113054f5
--- /dev/null
+++ b/libc/misc/wctype/iswgraph.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_iswgraph
+#include "_wctype.c"
diff --git a/libc/misc/wctype/iswgraph_l.c b/libc/misc/wctype/iswgraph_l.c
new file mode 100644
index 000000000..db683156e
--- /dev/null
+++ b/libc/misc/wctype/iswgraph_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_iswgraph_l
+#define __UCLIBC_DO_XLOCALE
+#include "_wctype.c"
diff --git a/libc/misc/wctype/iswlower.c b/libc/misc/wctype/iswlower.c
new file mode 100644
index 000000000..016d8cc8e
--- /dev/null
+++ b/libc/misc/wctype/iswlower.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_iswlower
+#include "_wctype.c"
diff --git a/libc/misc/wctype/iswlower_l.c b/libc/misc/wctype/iswlower_l.c
new file mode 100644
index 000000000..5b9f82126
--- /dev/null
+++ b/libc/misc/wctype/iswlower_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_iswlower_l
+#define __UCLIBC_DO_XLOCALE
+#include "_wctype.c"
diff --git a/libc/misc/wctype/iswprint.c b/libc/misc/wctype/iswprint.c
new file mode 100644
index 000000000..8e47e88c1
--- /dev/null
+++ b/libc/misc/wctype/iswprint.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_iswprint
+#include "_wctype.c"
diff --git a/libc/misc/wctype/iswprint_l.c b/libc/misc/wctype/iswprint_l.c
new file mode 100644
index 000000000..148414c49
--- /dev/null
+++ b/libc/misc/wctype/iswprint_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_iswprint_l
+#define __UCLIBC_DO_XLOCALE
+#include "_wctype.c"
diff --git a/libc/misc/wctype/iswpunct.c b/libc/misc/wctype/iswpunct.c
new file mode 100644
index 000000000..1175e1ad6
--- /dev/null
+++ b/libc/misc/wctype/iswpunct.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_iswpunct
+#include "_wctype.c"
diff --git a/libc/misc/wctype/iswpunct_l.c b/libc/misc/wctype/iswpunct_l.c
new file mode 100644
index 000000000..a6d361650
--- /dev/null
+++ b/libc/misc/wctype/iswpunct_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_iswpunct_l
+#define __UCLIBC_DO_XLOCALE
+#include "_wctype.c"
diff --git a/libc/misc/wctype/iswspace.c b/libc/misc/wctype/iswspace.c
new file mode 100644
index 000000000..603f5cf4a
--- /dev/null
+++ b/libc/misc/wctype/iswspace.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_iswspace
+#include "_wctype.c"
diff --git a/libc/misc/wctype/iswspace_l.c b/libc/misc/wctype/iswspace_l.c
new file mode 100644
index 000000000..e389f8913
--- /dev/null
+++ b/libc/misc/wctype/iswspace_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_iswspace_l
+#define __UCLIBC_DO_XLOCALE
+#include "_wctype.c"
diff --git a/libc/misc/wctype/iswupper.c b/libc/misc/wctype/iswupper.c
new file mode 100644
index 000000000..4cfdebb1a
--- /dev/null
+++ b/libc/misc/wctype/iswupper.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_iswupper
+#include "_wctype.c"
diff --git a/libc/misc/wctype/iswupper_l.c b/libc/misc/wctype/iswupper_l.c
new file mode 100644
index 000000000..359aef984
--- /dev/null
+++ b/libc/misc/wctype/iswupper_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_iswupper_l
+#define __UCLIBC_DO_XLOCALE
+#include "_wctype.c"
diff --git a/libc/misc/wctype/iswxdigit.c b/libc/misc/wctype/iswxdigit.c
new file mode 100644
index 000000000..568f253fd
--- /dev/null
+++ b/libc/misc/wctype/iswxdigit.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_iswxdigit
+#include "_wctype.c"
diff --git a/libc/misc/wctype/iswxdigit_l.c b/libc/misc/wctype/iswxdigit_l.c
new file mode 100644
index 000000000..1d543abbd
--- /dev/null
+++ b/libc/misc/wctype/iswxdigit_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_iswxdigit_l
+#define __UCLIBC_DO_XLOCALE
+#include "_wctype.c"
diff --git a/libc/misc/wctype/towctrans.c b/libc/misc/wctype/towctrans.c
new file mode 100644
index 000000000..9ad0468ff
--- /dev/null
+++ b/libc/misc/wctype/towctrans.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_towctrans
+#include "_wctype.c"
diff --git a/libc/misc/wctype/towctrans_l.c b/libc/misc/wctype/towctrans_l.c
new file mode 100644
index 000000000..e179b50fe
--- /dev/null
+++ b/libc/misc/wctype/towctrans_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_towctrans_l
+#define __UCLIBC_DO_XLOCALE
+#include "_wctype.c"
diff --git a/libc/misc/wctype/towlower.c b/libc/misc/wctype/towlower.c
new file mode 100644
index 000000000..dffbff3d6
--- /dev/null
+++ b/libc/misc/wctype/towlower.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_towlower
+#include "_wctype.c"
diff --git a/libc/misc/wctype/towlower_l.c b/libc/misc/wctype/towlower_l.c
new file mode 100644
index 000000000..f1aa7e6ee
--- /dev/null
+++ b/libc/misc/wctype/towlower_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_towlower_l
+#define __UCLIBC_DO_XLOCALE
+#include "_wctype.c"
diff --git a/libc/misc/wctype/towupper.c b/libc/misc/wctype/towupper.c
new file mode 100644
index 000000000..1dab8fed0
--- /dev/null
+++ b/libc/misc/wctype/towupper.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_towupper
+#include "_wctype.c"
diff --git a/libc/misc/wctype/towupper_l.c b/libc/misc/wctype/towupper_l.c
new file mode 100644
index 000000000..cf05d5c87
--- /dev/null
+++ b/libc/misc/wctype/towupper_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_towupper_l
+#define __UCLIBC_DO_XLOCALE
+#include "_wctype.c"
diff --git a/libc/misc/wctype/wctrans.c b/libc/misc/wctype/wctrans.c
new file mode 100644
index 000000000..f99d9cd9d
--- /dev/null
+++ b/libc/misc/wctype/wctrans.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_wctrans
+#include "_wctype.c"
diff --git a/libc/misc/wctype/wctrans_l.c b/libc/misc/wctype/wctrans_l.c
new file mode 100644
index 000000000..79854c2d1
--- /dev/null
+++ b/libc/misc/wctype/wctrans_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_wctrans_l
+#define __UCLIBC_DO_XLOCALE
+#include "_wctype.c"
diff --git a/libc/misc/wctype/wctype.c b/libc/misc/wctype/wctype.c
new file mode 100644
index 000000000..0dc1e6d70
--- /dev/null
+++ b/libc/misc/wctype/wctype.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_wctype
+#include "_wctype.c"
diff --git a/libc/misc/wctype/wctype_l.c b/libc/misc/wctype/wctype_l.c
new file mode 100644
index 000000000..65f82e2b1
--- /dev/null
+++ b/libc/misc/wctype/wctype_l.c
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2002-2006 Manuel Novoa III <mjn3@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_wctype_l
+#define __UCLIBC_DO_XLOCALE
+#include "_wctype.c"