1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-06-09 03:36:13 +02:00

use declarations from builtin.h for builtin commands

Signed-off-by: Matthias Kestenholz <matthias@spinlock.ch>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Matthias Kestenholz 2006-08-02 23:52:00 +02:00 committed by Junio C Hamano
parent e12c095aa6
commit 25f38f064f
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,4 @@
#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];

View File

@ -1,3 +1,4 @@
#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;