about summary refs log tree commit diff stats
path: root/cgit.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgit.c')
-rw-r--r--cgit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgit.c b/cgit.c index 0ad8171..c16ed8c 100644 --- a/cgit.c +++ b/cgit.c
@@ -1013,7 +1013,7 @@ static void cgit_parse_args(int argc, const char **argv)
1013 } 1013 }
1014} 1014}
1015 1015
1016static int calc_ttl() 1016static 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;