From 5c054b1f63469fac38075ed425fbbae94fe9b495 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Sun, 13 Dec 2009 15:59:45 -0500 Subject: [PATCH] Make return value of string_date const --- tig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tig.c b/tig.c index 3f4a6f6..fc7e8c3 100644 --- a/tig.c +++ b/tig.c @@ -401,7 +401,7 @@ static const struct enum_map date_map[] = { #undef DATE_ }; -static char * +static const char * string_date(const time_t *time, enum date date) { static char buf[DATE_COLS + 1]; -- 2.30.2