summaryrefslogtreecommitdiff
path: root/http-push.c
diff options
context:
space:
mode:
authorRene Scharfe <rene.scharfe@lsrfire.ath.cx>2006-04-02 13:13:10 +0200
committerJunio C Hamano <junkio@cox.net>2006-04-02 12:58:47 -0700
commitec26b4d6b004b6529c79e995a543945076c683aa (patch)
tree4e1defa927513f6caf3ae7fac9a0906c3e338d2c /http-push.c
parent5142db69123b9dd5605ee3e290409787675dd748 (diff)
downloadgit-ec26b4d6b004b6529c79e995a543945076c683aa.tar.gz
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>
Diffstat (limited to 'http-push.c')
-rw-r--r--http-push.c2
1 files changed, 1 insertions, 1 deletions
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);