projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5142db6
)
Fix sparse warnings about non-ANSI function prototypes
author
Rene Scharfe
<rene.scharfe@lsrfire.ath.cx>
Sun, 2 Apr 2006 11:13:10 +0000
(13:13 +0200)
committer
Junio C Hamano
<junkio@cox.net>
Sun, 2 Apr 2006 19:58:47 +0000
(12:58 -0700)
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git.c
patch
|
blob
|
history
http-push.c
patch
|
blob
|
history
diff --git
a/git.c
b/git.c
index
72039c6
..
b4a1ef2
100644
(file)
--- a/
git.c
+++ b/
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;
diff --git
a/http-push.c
b/http-push.c
index
21c5289
..
ba7d9de
100644
(file)
--- 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);