git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
To: git@vger.kernel.org
Cc: "Junio C Hamano" <gitster@pobox.com>,
	"Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Subject: [PATCH 2/4] grep.h: remove unused grep_threads_ok() declaration
Date: Fri,  1 Oct 2021 12:37:41 +0200	[thread overview]
Message-ID: <patch-2.4-1aa29533277-20210928T125228Z-avarab@gmail.com> (raw)
In-Reply-To: <cover-0.4-00000000000-20210928T125228Z-avarab@gmail.com>

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 --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


  parent reply	other threads:[~2021-10-01 10:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-01 10:37 [PATCH 0/4] *.h: remove dead function declarations Ævar Arnfjörð Bjarmason
2021-10-01 10:37 ` [PATCH 1/4] builtin.h: remove cmd_tar_tree() declaration Ævar Arnfjörð Bjarmason
2021-10-01 10:37 ` Ævar Arnfjörð Bjarmason [this message]
2021-10-01 10:37 ` [PATCH 3/4] log-tree.h: remove unused function declarations Ævar Arnfjörð Bjarmason
2021-10-01 10:37 ` [PATCH 4/4] config.h: remove unused git_config_get_untracked_cache() declaration Ævar Arnfjörð Bjarmason
2021-10-01 21:39 ` [PATCH 0/4] *.h: remove dead function declarations Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=patch-2.4-1aa29533277-20210928T125228Z-avarab@gmail.com \
    --to=avarab@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).