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 0647bd6..09ddfbc 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 a5e6517..5ecff4a 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