diff options
author | Cameron Katri <me@cameronkatri.com> | 2021-09-05 00:10:41 +0000 |
---|---|---|
committer | Piotr Pawel Stefaniak <pstef@FreeBSD.org> | 2021-09-15 23:46:44 +0000 |
commit | f38702e5a52e1350b9349bc297ccd0b50b1941c3 (patch) | |
tree | b355a90e59d4eee5a9ef2759107d6eaf26013e58 /usr.bin/diff/diff.h | |
parent | 7760b85414189789c792c92c66bb3ddb877deae1 (diff) |
Diffstat (limited to 'usr.bin/diff/diff.h')
-rw-r--r-- | usr.bin/diff/diff.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/usr.bin/diff/diff.h b/usr.bin/diff/diff.h index 7ae700810fc6..5164fe22ace4 100644 --- a/usr.bin/diff/diff.h +++ b/usr.bin/diff/diff.h @@ -87,17 +87,25 @@ #define D_SKIPPED2 6 /* path2 was a special file */ #define D_ERROR 7 /* A file access error occurred */ +/* + * Color options + */ +#define COLORFLAG_NEVER 0 +#define COLORFLAG_AUTO 1 +#define COLORFLAG_ALWAYS 2 + struct excludes { char *pattern; struct excludes *next; }; extern bool lflag, Nflag, Pflag, rflag, sflag, Tflag, cflag; -extern bool ignore_file_case, suppress_common; +extern bool ignore_file_case, suppress_common, color; extern int diff_format, diff_context, status; extern int tabsize, width; extern char *start, *ifdefname, *diffargs, *label[2], *ignore_pats; extern char *group_format; +extern const char *add_code, *del_code; extern struct stat stb1, stb2; extern struct excludes *excludes_list; extern regex_t ignore_re; |