summaryrefslogtreecommitdiff
path: root/extra/locale
diff options
context:
space:
mode:
Diffstat (limited to 'extra/locale')
-rw-r--r--extra/locale/.gitignore26
-rw-r--r--extra/locale/programs/locale.c3
2 files changed, 27 insertions, 2 deletions
diff --git a/extra/locale/.gitignore b/extra/locale/.gitignore
new file mode 100644
index 000000000..3ea196522
--- /dev/null
+++ b/extra/locale/.gitignore
@@ -0,0 +1,26 @@
+#
+# Never ignore these
+#
+!.gitignore
+
+#
+# Generated files
+#
+/c8tables.h
+/codesets.txt
+/locale_collate.h
+/locale_data.c
+/locale_tables.h
+/locales.txt
+/lt_defines.h
+/uClibc_locale_data.h
+/wctables.h
+#
+# generators
+#
+/gen_collate
+/gen_ldc
+/gen_locale
+/gen_wc8bit
+/gen_wctype
+
diff --git a/extra/locale/programs/locale.c b/extra/locale/programs/locale.c
index 462a57913..dfd202954 100644
--- a/extra/locale/programs/locale.c
+++ b/extra/locale/programs/locale.c
@@ -10,10 +10,9 @@
*
*/
-
+#include <string.h>
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#include <langinfo.h>
#include <unistd.h>
#ifdef __UCLIBC_HAS_GETOPT_LONG__