Thread (5 messages) flat view 5 messages, 1 author, 2021-10-01
STALE1800d

[PATCH 2/4] grep.h: remove unused grep_threads_ok() declaration

From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2021-10-01 10:38:08
Subsystem: the rest · Maintainer: Linus Torvalds

This function was removed in 0579f91dd74 (grep: enable threading with
-p and -W using lazy attribute lookup, 2011-12-12), but not its
corresponding *.h declaration.

Signed-off-by: Ævar Arnfjörð Bjarmason <redacted>
---
 grep.h | 1 -
 1 file changed, 1 deletion(-)
diff --git a/grep.h b/grep.h
index 128007db655..a68dce5dfa5 100644
--- a/grep.h
+++ b/grep.h
@@ -223,7 +223,6 @@ void grep_source_load_driver(struct grep_source *gs,
 int grep_source(struct grep_opt *opt, struct grep_source *gs);
 
 struct grep_opt *grep_opt_dup(const struct grep_opt *opt);
-int grep_threads_ok(const struct grep_opt *opt);
 
 /*
  * Mutex used around access to the attributes machinery if
-- 
2.33.0.1340.ge9f77250f2b
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help