Thread (117 messages) 117 messages, 3 authors, 2022-03-04
STALE1668d

Revision v10 of 9 in this series.

Revisions (9)
  1. v3 [diff vs current]
  2. v4 [diff vs current]
  3. v5 [diff vs current]
  4. v6 [diff vs current]
  5. v7 [diff vs current]
  6. v8 [diff vs current]
  7. v9 [diff vs current]
  8. v10 current
  9. v11 [diff vs current]

[PATCH v10 7/9] grep.h: make "grep_opt.pattern_type_option" use its enum

From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2022-02-04 21:21:14
Subsystem: the rest · Maintainer: Linus Torvalds

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 <redacted>
---
 grep.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/grep.h b/grep.h
index 3112d1c2a38..89a2ce51130 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;
-- 
2.35.1.940.ge7a5b4b05f2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help