diff options
| author | John Keeping | 2015-03-08 16:32:16 +0000 |
|---|---|---|
| committer | Jason A. Donenfeld | 2015-03-09 17:38:30 +0100 |
| commit | e3d3fffdd447cdb4551549faae65bae5353a2cab (patch) | |
| tree | 43ab1eaeeabf9269d0eebb64e64e957183f41b4d /ui-tree.c | |
| parent | 5150b7c1e69b4b09821e438006cfd77d82edae3b (diff) | |
| download | cgit-e3d3fffdd447cdb4551549faae65bae5353a2cab.tar.gz cgit-e3d3fffdd447cdb4551549faae65bae5353a2cab.tar.bz2 cgit-e3d3fffdd447cdb4551549faae65bae5353a2cab.zip | |
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>
Diffstat (limited to 'ui-tree.c')
| -rw-r--r-- | ui-tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -180,7 +180,7 @@ static int ls_item(const unsigned char *sha1, struct strbuf *base, | |||
| 180 | return 0; | 180 | return 0; |
| 181 | } | 181 | } |
| 182 | 182 | ||
| 183 | static void ls_head() | 183 | static void ls_head(void) |
| 184 | { | 184 | { |
| 185 | html("<table summary='tree listing' class='list'>\n"); | 185 | html("<table summary='tree listing' class='list'>\n"); |
| 186 | html("<tr class='nohover'>"); | 186 | html("<tr class='nohover'>"); |
| @@ -191,7 +191,7 @@ static void ls_head() | |||
| 191 | html("</tr>\n"); | 191 | html("</tr>\n"); |
| 192 | } | 192 | } |
| 193 | 193 | ||
| 194 | static void ls_tail() | 194 | static void ls_tail(void) |
| 195 | { | 195 | { |
| 196 | html("</table>\n"); | 196 | html("</table>\n"); |
| 197 | } | 197 | } |
