Skip to content

Commit 321ee43

Browse files
avargitster
authored andcommitted
grep.h: make "grep_opt.pattern_type_option" use its enum
Change the "pattern_type_option" member of "struct grep_opt" to use the enum type we use for it. Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 72365bb commit 321ee43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grep.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ struct grep_opt {
164164
int funcname;
165165
int funcbody;
166166
int extended_regexp_option;
167-
int pattern_type_option;
167+
enum grep_pattern_type pattern_type_option;
168168
int ignore_locale;
169169
char colors[NR_GREP_COLORS][COLOR_MAXLEN];
170170
unsigned pre_context;

0 commit comments

Comments
 (0)