summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/_def_numeric.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/locale/_def_numeric.c')
-rw-r--r--lib/libc/locale/_def_numeric.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/libc/locale/_def_numeric.c b/lib/libc/locale/_def_numeric.c
new file mode 100644
index 00000000000..3b112a13ee4
--- /dev/null
+++ b/lib/libc/locale/_def_numeric.c
@@ -0,0 +1,16 @@
+/*
+ * Written by J.T. Conklin <jtc@netbsd.org>.
+ * Public domain.
+ */
+
+#include <sys/localedef.h>
+#include <locale.h>
+
+const _NumericLocale _DefaultNumericLocale =
+{
+ ".",
+ "",
+ ""
+};
+
+const _NumericLocale *_CurrentNumericLocale = &_DefaultNumericLocale;