diff.c: mark a private file-scope symbol as static
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Sep 15, 2012 at 13:59 UTC
d2aea1371bc240a55f0b3c2265171a16ee023f2e
2 files changed
+1
-2
diff.c
+1
-1
@@ -25,7 +25,7 @@
25
static int diff_detect_rename_default;
26
static int diff_rename_limit_default = 400;
27
static int diff_suppress_blank_empty;
28
-int diff_use_color_default = -1;
28
+static int diff_use_color_default = -1;
29
static const char *diff_word_regex_cfg;
30
static const char *external_diff_cmd_cfg;
31
int diff_auto_refresh_index = 1;
diff.h
-1
@@ -243,7 +243,6 @@ extern int parse_long_opt(const char *opt, const char **argv,
243
244
extern int git_diff_basic_config(const char *var, const char *value, void *cb);
245
extern int git_diff_ui_config(const char *var, const char *value, void *cb);
246
-extern int diff_use_color_default;
246
extern void diff_setup(struct diff_options *);
247
extern int diff_opt_parse(struct diff_options *, const char **, int);
248
extern void diff_setup_done(struct diff_options *);