aboutsummaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-06-08 02:54:57 -0700
committerJunio C Hamano <gitster@pobox.com>2007-06-08 02:54:57 -0700
commit16befb8b7fbfcc9b2d38931f4081669558300adf (patch)
treebf43ee0650d85c8a8096a59d24ea536e0b11a3e2 /diff.c
parentfcd056a6d23bafb13f991ffb673fb87c7100b8f2 (diff)
downloadgit-16befb8b7fbfcc9b2d38931f4081669558300adf.tar.gz
git-16befb8b7fbfcc9b2d38931f4081669558300adf.tar.xz
Even more missing static
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
-rw-r--r--diff.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/diff.c b/diff.c
index cafa7debe..1d234d361 100644
--- a/diff.c
+++ b/diff.c
@@ -2103,6 +2103,8 @@ static int opt_arg(const char *arg, int arg_short, const char *arg_long, int *va
return 1;
}
+static int diff_scoreopt_parse(const char *opt);
+
int diff_opt_parse(struct diff_options *options, const char **av, int ac)
{
const char *arg = av[0];
@@ -2274,7 +2276,7 @@ static int parse_num(const char **cp_p)
return (int)((num >= scale) ? MAX_SCORE : (MAX_SCORE * num / scale));
}
-int diff_scoreopt_parse(const char *opt)
+static int diff_scoreopt_parse(const char *opt)
{
int opt1, opt2, cmd;