Commits

Anonymous committed 25f38f0

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>

Comments (0)

Files changed (2)

builtin-fmt-merge-msg.c

+#include "builtin.h"
 #include "cache.h"
 #include "commit.h"
 #include "diff.h"
 	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];

builtin-prune-packed.c

+#include "builtin.h"
 #include "cache.h"
 
 static const char prune_packed_usage[] =
 	}
 }
 
-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;