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-shared.h | |
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-shared.h')
-rw-r--r-- | ui-shared.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-shared.h b/ui-shared.h index de08e1b..c9413ed 100644 --- a/ui-shared.h +++ b/ui-shared.h | |||
@@ -62,7 +62,7 @@ extern void cgit_print_error(const char *fmt, ...); | |||
62 | __attribute__((format (printf,1,0))) | 62 | __attribute__((format (printf,1,0))) |
63 | extern void cgit_vprint_error(const char *fmt, va_list ap); | 63 | extern void cgit_vprint_error(const char *fmt, va_list ap); |
64 | extern void cgit_print_date(time_t secs, const char *format, int local_time); | 64 | extern void cgit_print_date(time_t secs, const char *format, int local_time); |
65 | extern void cgit_print_age(time_t t, time_t max_relative, const char *format); | 65 | extern void cgit_print_age(time_t t, time_t max_relative); |
66 | extern void cgit_print_http_headers(void); | 66 | extern void cgit_print_http_headers(void); |
67 | extern void cgit_redirect(const char *url, bool permanent); | 67 | extern void cgit_redirect(const char *url, bool permanent); |
68 | extern void cgit_print_docstart(void); | 68 | extern void cgit_print_docstart(void); |