summaryrefslogtreecommitdiff
path: root/builtin-fsck.c
diff options
context:
space:
mode:
authorPeter Hagervall <hager@cs.umu.se>2007-07-15 01:14:45 +0200
committerJunio C Hamano <gitster@pobox.com>2007-07-14 22:44:09 -0700
commitbaffc0e7708de1655665d150081e8880501736fe (patch)
tree267d9bfd87967c891fc25e8b5dcf1376ee8c816c /builtin-fsck.c
parent46cf98baa5a1d74a9d00dc1092b29e4af93e8615 (diff)
downloadgit-baffc0e7708de1655665d150081e8880501736fe.tar.gz
Make every builtin-*.c file #include "builtin.h"
Make every builtin-*.c file #include "builtin.h". Also takes care of some declaration/definition mismatches. Signed-off-by: Peter Hagervall <hager@cs.umu.se> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-fsck.c')
-rw-r--r--builtin-fsck.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin-fsck.c b/builtin-fsck.c
index a6ef65ea32..350ec5e144 100644
--- a/builtin-fsck.c
+++ b/builtin-fsck.c
@@ -1,3 +1,4 @@
+#include "builtin.h"
#include "cache.h"
#include "commit.h"
#include "tree.h"
@@ -659,7 +660,7 @@ static const char fsck_usage[] =
"git-fsck [--tags] [--root] [[--unreachable] [--cache] [--full] "
"[--strict] [--verbose] <head-sha1>*]";
-int cmd_fsck(int argc, char **argv, const char *prefix)
+int cmd_fsck(int argc, const char **argv, const char *prefix)
{
int i, heads;