diff options
-rw-r--r-- | git.c | 2 | ||||
-rw-r--r-- | http-push.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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; diff --git a/http-push.c b/http-push.c index 21c5289cde..ba7d9de234 100644 --- a/http-push.c +++ b/http-push.c @@ -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); |