summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorRene Scharfe <rene.scharfe@lsrfire.ath.cx>2006-04-02 11:13:10 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-04-02 19:58:47 (GMT)
commitec26b4d6b004b6529c79e995a543945076c683aa (patch)
tree4e1defa927513f6caf3ae7fac9a0906c3e338d2c /git.c
parent5142db69123b9dd5605ee3e290409787675dd748 (diff)
downloadgit-ec26b4d6b004b6529c79e995a543945076c683aa.zip
git-ec26b4d6b004b6529c79e995a543945076c683aa.tar.gz
git-ec26b4d6b004b6529c79e995a543945076c683aa.tar.bz2
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 'git.c')
-rw-r--r--git.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/git.c b/git.c
index 72039c6..b4a1ef2 100644
--- 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;