summaryrefslogtreecommitdiff
path: root/libc/misc/time/__time_locale.c
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2002-06-17 09:45:15 +0000
committerManuel Novoa III <mjn3@codepoet.org>2002-06-17 09:45:15 +0000
commitd6b2a407783dbbd6c9680601da005de0bb0ff37d (patch)
treed72244507fab5c5c59d12aa10fa411943631c56c /libc/misc/time/__time_locale.c
parenta7ce5bbdcd1217af1aab4c15e4ce337c8ef33973 (diff)
Commit the new time stuff, even though I haven't made it threadsafe yet.
At least people can play with it. Also, fix a buglet in setenv.c.
Diffstat (limited to 'libc/misc/time/__time_locale.c')
-rw-r--r--libc/misc/time/__time_locale.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/libc/misc/time/__time_locale.c b/libc/misc/time/__time_locale.c
deleted file mode 100644
index 0d78a0a67..000000000
--- a/libc/misc/time/__time_locale.c
+++ /dev/null
@@ -1,30 +0,0 @@
-#ifndef __UCLIBC_HAS_LOCALE__
-char const __weekday_name[][10] =
- {
- "Sunday", "Monday", "Tuesday", "Wednesday",
- "Thursday", "Friday", "Saturday"
- };
-char const __ab_weekday_name[][4] =
- {
- "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"
- };
-char const __month_name[][10] =
- {
- "January", "February", "March", "April", "May", "June",
- "July", "August", "September", "October", "November", "December"
- };
-char const __ab_month_name[][4] =
- {
- "Jan", "Feb", "Mar", "Apr", "May", "Jun",
- "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
- };
-
-const unsigned short int __mon_yday[2][13] =
- {
- /* Normal years. */
- { 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365 },
- /* Leap years. */
- { 0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335, 366 }
- };
-#endif
-