summaryrefslogtreecommitdiff
path: root/builtin-fsck.c
diff options
context:
space:
mode:
authorLibravatar Peter Hagervall <hager@cs.umu.se>2007-07-15 01:14:45 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2007-07-14 22:44:09 -0700
commitbaffc0e7708de1655665d150081e8880501736fe (patch)
tree267d9bfd87967c891fc25e8b5dcf1376ee8c816c /builtin-fsck.c
parentgit-svn: remove leading slashes from fetch lines in the generate config (diff)
downloadtgif-baffc0e7708de1655665d150081e8880501736fe.tar.xz
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;