summaryrefslogtreecommitdiff
path: root/libc/misc/locale
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-02-13 08:14:12 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-02-13 08:14:12 +0000
commit42c9f525369ba06742d53d7a89ad00153b317de6 (patch)
tree384ccc4bd211f66950ae1b72bf7b3188c58c4d56 /libc/misc/locale
parent12c4a2b9298f6bb4320509b8bb21ba0aa2d4392d (diff)
Add files for IMA. Yes, I know it's a hack and no, I won't split the affected files
Diffstat (limited to 'libc/misc/locale')
-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
11 files changed, 93 insertions, 0 deletions
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"