diff options
author | John Keeping | 2016-01-19 19:33:01 +0000 |
---|---|---|
committer | Jason A. Donenfeld | 2016-02-08 14:19:33 +0100 |
commit | 57ea1aa2a5eab7f6aba702b3366fe4dcc72124f6 (patch) | |
tree | c84c92e2a148de649cfb31d93384dbd28f1e2cee /ui-repolist.c | |
parent | 23f7dadaaba2817c92c42c0a642a3186aa8ef24d (diff) | |
download | cgit-57ea1aa2a5eab7f6aba702b3366fe4dcc72124f6.tar.gz cgit-57ea1aa2a5eab7f6aba702b3366fe4dcc72124f6.tar.bz2 cgit-57ea1aa2a5eab7f6aba702b3366fe4dcc72124f6.zip |
ui-shared: remove "format" from cgit_print_age()
We never use any format other than FMT_SHORTDATE, so move that into the
function.
Signed-off-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to 'ui-repolist.c')
-rw-r--r-- | ui-repolist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-repolist.c b/ui-repolist.c index 6010a39..6004469 100644 --- a/ui-repolist.c +++ b/ui-repolist.c | |||
@@ -79,7 +79,7 @@ static void print_modtime(struct cgit_repo *repo) | |||
79 | { | 79 | { |
80 | time_t t; | 80 | time_t t; |
81 | if (get_repo_modtime(repo, &t)) | 81 | if (get_repo_modtime(repo, &t)) |
82 | cgit_print_age(t, -1, NULL); | 82 | cgit_print_age(t, -1); |
83 | } | 83 | } |
84 | 84 | ||
85 | static int is_match(struct cgit_repo *repo) | 85 | static int is_match(struct cgit_repo *repo) |