]> git.ipfire.org Git - thirdparty/git.git/commitdiff
grep.h: remove unused grep_threads_ok() declaration
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 1 Oct 2021 10:37:41 +0000 (12:37 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 1 Oct 2021 21:39:46 +0000 (14:39 -0700)
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
grep.h

diff --git a/grep.h b/grep.h
index 72f82b1e302397b20f8ae4ebd75a0b534fff99f5..474de3744f5b941a723f2df43c843f2c9b31b6c4 100644 (file)
--- a/grep.h
+++ b/grep.h
@@ -207,7 +207,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