diff options
Diffstat (limited to 'newlib/libc/time/gettzinfo.c')
-rw-r--r-- | newlib/libc/time/gettzinfo.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/newlib/libc/time/gettzinfo.c b/newlib/libc/time/gettzinfo.c new file mode 100644 index 000000000..be754f31b --- /dev/null +++ b/newlib/libc/time/gettzinfo.c @@ -0,0 +1,15 @@ +#include <sys/types.h> +#include <local.h> + +/* Shared timezone information for libc/time functions. */ +static __tzinfo_type tzinfo = {1, 0, + { {'J', 0, 0, 0, 0, (time_t)0, 0 }, + {'J', 0, 0, 0, 0, (time_t)0, 0 } + } +}; + +__tzinfo_type * +__gettzinfo (void) +{ + return &tzinfo; +} |