summaryrefslogtreecommitdiff
path: root/src/__main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/__main.c')
-rw-r--r--src/__main.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/__main.c b/src/__main.c
index 71a1c9e9..3e681799 100644
--- a/src/__main.c
+++ b/src/__main.c
@@ -4,12 +4,6 @@
#include "stdio/_stdio.h"
#include "stdlib/_stdlib.h"
-#ifdef _POSIX_SOURCE
-#define DEFAULT_LOCALE "POSIX"
-#else
-#define DEFAULT_LOCALE "C"
-#endif
-
void __main(int argc, char **argv)
{
extern int main(int, char*[]);
@@ -35,8 +29,6 @@ void __main(int argc, char **argv)
freopen(NULL, "w", stderr);
setvbuf(stderr, NULL, _IONBF, 0);
- setlocale(LC_ALL, DEFAULT_LOCALE);
-
exit(main(argc, argv));
}