From e3d3fffdd447cdb4551549faae65bae5353a2cab Mon Sep 17 00:00:00 2001 From: John Keeping Date: Sun, 8 Mar 2015 16:32:16 +0000 Subject: Avoid non-ANSI function declarations Sparse says things like: warning: non-ANSI function declaration of function 'calc_ttl' Signed-off-by: John Keeping --- ui-tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui-tree.c') diff --git a/ui-tree.c b/ui-tree.c index 4ab0137..bbc468e 100644 --- a/ui-tree.c +++ b/ui-tree.c @@ -180,7 +180,7 @@ static int ls_item(const unsigned char *sha1, struct strbuf *base, return 0; } -static void ls_head() +static void ls_head(void) { html("\n"); html(""); @@ -191,7 +191,7 @@ static void ls_head() html("\n"); } -static void ls_tail() +static void ls_tail(void) { html("
\n"); } -- cgit v1.2.3-59-g8ed1b