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>
This commit is contained in:
parent
5142db6912
commit
ec26b4d6b0
2
git.c
2
git.c
@ -172,7 +172,7 @@ static void list_commands(const char *exec_path, const char *pattern)
|
||||
putchar('\n');
|
||||
}
|
||||
|
||||
static void list_common_cmds_help()
|
||||
static void list_common_cmds_help(void)
|
||||
{
|
||||
int i, longest = 0;
|
||||
|
||||
|
@ -622,7 +622,7 @@ static int refresh_lock(struct remote_lock *lock)
|
||||
return rc;
|
||||
}
|
||||
|
||||
static void check_locks()
|
||||
static void check_locks(void)
|
||||
{
|
||||
struct remote_lock *lock = remote->locks;
|
||||
time_t current_time = time(NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user