gpg-interface: make parse_gpg_output static and remove from interface header
authorHenning Schild <henning.schild@siemens.com>
Wed, 11 Jul 2018 08:38:25 +0000 (10:38 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 11 Jul 2018 17:05:22 +0000 (10:05 -0700)
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>
gpg-interface.c
gpg-interface.h
index 0647bd6348cdedd0e32f30ed23934d390eae4122..09ddfbc267e3bee3edf54e0166d92c1e6e6d331c 100644 (file)
@@ -35,7 +35,7 @@ static struct {
        { 'R', "\n[GNUPG:] REVKEYSIG "},
 };
 
-void parse_gpg_output(struct signature_check *sigc)
+static void parse_gpg_output(struct signature_check *sigc)
 {
        const char *buf = sigc->gpg_status;
        int i;
index a5e6517ae67ea5fa3f79265517381d58d99fba18..5ecff4aa0c062d8a33290d39456e24c073fd48e4 100644 (file)
@@ -33,8 +33,6 @@ void signature_check_clear(struct signature_check *sigc);
  */
 size_t parse_signature(const char *buf, size_t size);
 
-void parse_gpg_output(struct signature_check *);
-
 /*
  * Create a detached signature for the contents of "buffer" and append
  * it after "signature"; "buffer" and "signature" can be the same