Skip to content

Commit fbd0f16

Browse files
henning-schildgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 3b9291e commit fbd0f16

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

gpg-interface.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ static struct {
3535
{ 'R', "\n[GNUPG:] REVKEYSIG "},
3636
};
3737

38-
void parse_gpg_output(struct signature_check *sigc)
38+
static void parse_gpg_output(struct signature_check *sigc)
3939
{
4040
const char *buf = sigc->gpg_status;
4141
int i;

gpg-interface.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ void signature_check_clear(struct signature_check *sigc);
3333
*/
3434
size_t parse_signature(const char *buf, size_t size);
3535

36-
void parse_gpg_output(struct signature_check *);
37-
3836
/*
3937
* Create a detached signature for the contents of "buffer" and append
4038
* it after "signature"; "buffer" and "signature" can be the same

0 commit comments

Comments
 (0)