Fix sparse warnings about non-ANSI function prototypes
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <junkio@cox.net>
Rene Scharfe committed
Apr 2, 2006 at 13:13 UTC
ec26b4d6b004b6529c79e995a543945076c683aa
2 files changed
+2
-2
git.c
+1
-1
@@ -172,7 +172,7 @@ static void list_commands(const char *exec_path, const char *pattern)
172
putchar('\n');
173
}
174
175
-static void list_common_cmds_help()
175
+static void list_common_cmds_help(void)
176
{
177
int i, longest = 0;
178
http-push.c
+1
-1
@@ -622,7 +622,7 @@ static int refresh_lock(struct remote_lock *lock)
622
return rc;
623
}
624
625
-static void check_locks()
625
+static void check_locks(void)
626
{
627
struct remote_lock *lock = remote->locks;
628
time_t current_time = time(NULL);