diff mbox series

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

Message ID patch-2.4-1aa29533277-20210928T125228Z-avarab@gmail.com (mailing list archive)
State Accepted
Commit 1fd2aa543df0c7184c79bb302b654f0dd05c51da
Headers show
Series *.h: remove dead function declarations | expand

Commit Message

Ævar Arnfjörð Bjarmason Oct. 1, 2021, 10:37 a.m. UTC
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 <avarab@gmail.com>
---
 grep.h | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

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