summaryrefslogtreecommitdiffstats
path: root/userdiff.h
diff options
context:
space:
mode:
Diffstat (limited to 'userdiff.h')
-rw-r--r--userdiff.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/userdiff.h b/userdiff.h
index f5cb53d0d4..7565930337 100644
--- a/userdiff.h
+++ b/userdiff.h
@@ -7,7 +7,7 @@ struct index_state;
struct repository;
struct userdiff_funcname {
- char *pattern;
+ const char *pattern;
int cflags;
};
@@ -19,12 +19,12 @@ struct external_diff {
struct userdiff_driver {
const char *name;
struct external_diff external;
- char *algorithm;
+ const char *algorithm;
int binary;
struct userdiff_funcname funcname;
- char *word_regex;
- char *word_regex_multi_byte;
- char *textconv;
+ const char *word_regex;
+ const char *word_regex_multi_byte;
+ const char *textconv;
struct notes_cache *textconv_cache;
int textconv_want_cache;
};