mirror of
https://git.zx2c4.com/cgit
synced 2025-08-02 17:15:13 +02:00
Avoid non-ANSI function declarations
Sparse says things like: warning: non-ANSI function declaration of function 'calc_ttl' Signed-off-by: John Keeping <john@keeping.me.uk>
This commit is contained in:
parent
5150b7c1e6
commit
e3d3fffdd4
9 changed files with 25 additions and 25 deletions
|
@ -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("<table summary='tree listing' class='list'>\n");
|
||||
html("<tr class='nohover'>");
|
||||
|
@ -191,7 +191,7 @@ static void ls_head()
|
|||
html("</tr>\n");
|
||||
}
|
||||
|
||||
static void ls_tail()
|
||||
static void ls_tail(void)
|
||||
{
|
||||
html("</table>\n");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue