gpg-interface: make parse_gpg_output static and remove from interface header
Turn parse_gpg_output into a static function, the only outside user was migrated in an earlier commit. Signed-off-by: Henning Schild <henning.schild@siemens.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Henning Schild committed
Jul 11, 2018 at 10:38 UTC
fbd0f16610362fda5d2093a590a80d693f610594
2 files changed
+1
-3
gpg-interface.c
+1
-1
@@ -35,7 +35,7 @@ static struct {
35
{ 'R', "\n[GNUPG:] REVKEYSIG "},
36
};
37
38
-void parse_gpg_output(struct signature_check *sigc)
38
+static void parse_gpg_output(struct signature_check *sigc)
39
{
40
const char *buf = sigc->gpg_status;
41
int i;
gpg-interface.h
-2
@@ -33,8 +33,6 @@ void signature_check_clear(struct signature_check *sigc);
33
*/
34
size_t parse_signature(const char *buf, size_t size);
35
36
-void parse_gpg_output(struct signature_check *);
37
-
36
/*
37
* Create a detached signature for the contents of "buffer" and append
38
* it after "signature"; "buffer" and "signature" can be the same