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 <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Ævar Arnfjörð Bjarmason committed Feb 16, 2022 at 01:00 UTC 321ee43628c53d6050fb7fbc552332bab681f1a4
1 file changed +1 -1
grep.h
+1 -1
@@ -164,7 +164,7 @@ struct grep_opt {
164 int funcname;
165 int funcbody;
166 int extended_regexp_option;
167 - int pattern_type_option;
167 + enum grep_pattern_type pattern_type_option;
168 int ignore_locale;
169 char colors[NR_GREP_COLORS][COLOR_MAXLEN];
170 unsigned pre_context;