提交 25f38f06 编写于 作者: M Matthias Kestenholz 提交者: Junio C Hamano

use declarations from builtin.h for builtin commands

Signed-off-by: NMatthias Kestenholz <matthias@spinlock.ch>
Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 e12c095a
#include "builtin.h"
#include "cache.h"
#include "commit.h"
#include "diff.h"
......@@ -242,7 +243,7 @@ static void shortlog(const char *name, unsigned char *sha1,
free_list(&subjects);
}
int cmd_fmt_merge_msg(int argc, char **argv, const char *prefix)
int cmd_fmt_merge_msg(int argc, const char **argv, const char *prefix)
{
int limit = 20, i = 0;
char line[1024];
......
#include "builtin.h"
#include "cache.h"
static const char prune_packed_usage[] =
......@@ -54,7 +55,7 @@ static void prune_packed_objects(void)
}
}
int cmd_prune_packed(int argc, char **argv, const char *prefix)
int cmd_prune_packed(int argc, const char **argv, const char *prefix)
{
int i;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册