From 321ee43628c53d6050fb7fbc552332bab681f1a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Wed, 16 Feb 2022 01:00:37 +0100 Subject: grep.h: make "grep_opt.pattern_type_option" use its enum MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Junio C Hamano --- grep.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'grep.h') diff --git a/grep.h b/grep.h index 3112d1c2a3..89a2ce5113 100644 --- a/grep.h +++ b/grep.h @@ -164,7 +164,7 @@ struct grep_opt { int funcname; int funcbody; int extended_regexp_option; - int pattern_type_option; + enum grep_pattern_type pattern_type_option; int ignore_locale; char colors[NR_GREP_COLORS][COLOR_MAXLEN]; unsigned pre_context; -- cgit v1.2.3