Skip to content

Commit d2aea13

Browse files
committed
diff.c: mark a private file-scope symbol as static
Signed-off-by: Junio C Hamano <[email protected]>
1 parent 82a7529 commit d2aea13

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

diff.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
static int diff_detect_rename_default;
2626
static int diff_rename_limit_default = 400;
2727
static int diff_suppress_blank_empty;
28-
int diff_use_color_default = -1;
28+
static int diff_use_color_default = -1;
2929
static const char *diff_word_regex_cfg;
3030
static const char *external_diff_cmd_cfg;
3131
int diff_auto_refresh_index = 1;

diff.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,6 @@ extern int parse_long_opt(const char *opt, const char **argv,
243243

244244
extern int git_diff_basic_config(const char *var, const char *value, void *cb);
245245
extern int git_diff_ui_config(const char *var, const char *value, void *cb);
246-
extern int diff_use_color_default;
247246
extern void diff_setup(struct diff_options *);
248247
extern int diff_opt_parse(struct diff_options *, const char **, int);
249248
extern void diff_setup_done(struct diff_options *);

0 commit comments

Comments
 (0)