diff options
author | Peter Hagervall <hager@cs.umu.se> | 2007-07-15 01:14:45 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-07-14 22:44:09 -0700 |
commit | baffc0e7708de1655665d150081e8880501736fe (patch) | |
tree | 267d9bfd87967c891fc25e8b5dcf1376ee8c816c /builtin-fsck.c | |
parent | git-svn: remove leading slashes from fetch lines in the generate config (diff) | |
download | tgif-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.c | 3 |
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; |