diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-09-07 22:48:19 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-09-12 14:34:30 -0400 |
commit | 72bc6cbfed34f9787cc740e55c793ebbf3a2fe67 (patch) | |
tree | 0896096a296c14abb47b260711b166ea16887835 | |
parent | 8dafb84e667e81f04b0dace310161d33a37f8f50 (diff) | |
download | musl-72bc6cbfed34f9787cc740e55c793ebbf3a2fe67.tar.gz musl-72bc6cbfed34f9787cc740e55c793ebbf3a2fe67.tar.bz2 musl-72bc6cbfed34f9787cc740e55c793ebbf3a2fe67.tar.xz musl-72bc6cbfed34f9787cc740e55c793ebbf3a2fe67.zip |
move __tm_to_tzname declaration to time_impl.h with related functions
this function was added later for strftime use and the existence of
time_impl.h as the appropriate place for it seems to have been
overlooked.
-rw-r--r-- | src/time/strftime.c | 1 | ||||
-rw-r--r-- | src/time/time_impl.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/time/strftime.c b/src/time/strftime.c index 5d2484ed..ddb47772 100644 --- a/src/time/strftime.c +++ b/src/time/strftime.c @@ -45,7 +45,6 @@ static int week_num(const struct tm *tm) return val; } -const char *__tm_to_tzname(const struct tm *); size_t __strftime_l(char *restrict, size_t, const char *restrict, const struct tm *restrict, locale_t); const char *__strftime_fmt_1(char (*s)[100], size_t *l, int f, const struct tm *tm, locale_t loc, int pad) diff --git a/src/time/time_impl.h b/src/time/time_impl.h index 2e9a2c09..cf9a28e5 100644 --- a/src/time/time_impl.h +++ b/src/time/time_impl.h @@ -4,6 +4,7 @@ int __days_in_month(int, int); int __month_to_secs(int, int); long long __year_to_secs(long long, int *); long long __tm_to_secs(const struct tm *); +const char *__tm_to_tzname(const struct tm *); int __secs_to_tm(long long, struct tm *); void __secs_to_zone(long long, int, int *, long *, long *, const char **); const unsigned char *__map_file(const char *, size_t *); |