提交 ec26b4d6 编写于 作者: R Rene Scharfe 提交者: Junio C Hamano

Fix sparse warnings about non-ANSI function prototypes

Signed-off-by: NRene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 5142db69
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册