Signed-off-by: Ramkumar Ramachandra <artagnon@xxxxxxxxx> --- cache.h | 1 + date.c | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/cache.h b/cache.h index d83d68c..95fea31 100644 --- a/cache.h +++ b/cache.h @@ -816,6 +816,7 @@ enum date_mode { DATE_RAW }; +struct tm *time_to_tm(unsigned long time, int tz); const char *show_date(unsigned long time, int timezone, enum date_mode mode); const char *show_date_relative(unsigned long time, int tz, const struct timeval *now, diff --git a/date.c b/date.c index 00f9eb5..e601a50 100644 --- a/date.c +++ b/date.c @@ -54,7 +54,7 @@ static time_t gm_time_t(unsigned long time, int tz) * thing, which means that tz -0100 is passed in as the integer -100, * even though it means "sixty minutes off" */ -static struct tm *time_to_tm(unsigned long time, int tz) +struct tm *time_to_tm(unsigned long time, int tz) { time_t t = gm_time_t(time, tz); return gmtime(&t); -- 1.7.4.rc1.7.g2cf08.dirty -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html