index
:
cgit
e3d3fffdd4 (detached)
main
Hyperfast and read-only web frontend for git repositories
Bryce Kwon
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
cgit.c
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to '')
-rw-r--r--
cgit.c
2
1 file changed, 1 insertion, 1 deletion
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)
}
}
-static int calc_ttl()
+static int calc_ttl(void)
{
if (!ctx.repo)
return ctx.cfg.cache_root_ttl;