diff options
Diffstat (limited to 'cgit.c')
-rw-r--r-- | cgit.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1013,7 +1013,7 @@ static void cgit_parse_args(int argc, const char **argv) | |||
1013 | } | 1013 | } |
1014 | } | 1014 | } |
1015 | 1015 | ||
1016 | static int calc_ttl() | 1016 | static int calc_ttl(void) |
1017 | { | 1017 | { |
1018 | if (!ctx.repo) | 1018 | if (!ctx.repo) |
1019 | return ctx.cfg.cache_root_ttl; | 1019 | return ctx.cfg.cache_root_ttl; |