Last change
on this file since 444 was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
379 bytes
|
Rev | Line | |
---|
[444] | 1 | /* |
---|
| 2 | * month_lengths.c |
---|
| 3 | * |
---|
| 4 | * Array __month_lengths[] is (indirectly) needed by tzset(), mktime(), |
---|
| 5 | * gmtime() and localtime(). To break any dependencies, this array is moved to |
---|
| 6 | * separate source file. |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "local.h" |
---|
| 10 | |
---|
| 11 | const int __month_lengths[2][MONSPERYEAR] = { |
---|
| 12 | {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}, |
---|
| 13 | {31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31} |
---|
| 14 | } ; |
---|
Note: See
TracBrowser
for help on using the repository browser.