aboutsummaryrefslogtreecommitdiff
path: root/sys/libfmt/locale.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/libfmt/locale.c')
-rw-r--r--sys/libfmt/locale.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/sys/libfmt/locale.c b/sys/libfmt/locale.c
deleted file mode 100644
index 437c61e..0000000
--- a/sys/libfmt/locale.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#include "internal.h"
-
-void
-fmt·setlocale(fmt·State *io, char *decimal, char *thousands, char *groups)
-{
- if(decimal == nil || decimal[0] == '\0')
- decimal = ".";
- if(thousands == nil)
- thousands = ",";
- if(groups == nil)
- groups = "\3";
-
- io->groups = groups;
- io->decimal = decimal;
- io->thousands = thousands;
-}