[Pkg-gnupg-commit] [gnupg2] 99/132: g10: Minor clean up.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed May 17 03:07:46 UTC 2017


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch experimental
in repository gnupg2.

commit 2262a80c5f44433a08bc0e21b77d9efe51596f21
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Wed Apr 26 11:39:28 2017 +0900

    g10: Minor clean up.
    
    * g10/main.h (complete_sig): Remove declaration.
    * g10/sign.c (complete_sig): Make it static.
    
    Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>
---
 g10/main.h | 2 --
 g10/sign.c | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/g10/main.h b/g10/main.h
index 911f4da..129d746 100644
--- a/g10/main.h
+++ b/g10/main.h
@@ -242,8 +242,6 @@ int write_pubkey_enc (ctrl_t ctrl, PKT_public_key *pk, int throw_keyid,
                       DEK *dek, iobuf_t out);
 
 /*-- sign.c --*/
-int complete_sig (ctrl_t ctrl, PKT_signature *sig, PKT_public_key *pksk,
-                  gcry_md_hd_t md, const char *cache_nonce);
 int sign_file (ctrl_t ctrl, strlist_t filenames, int detached, strlist_t locusr,
 	       int do_encrypt, strlist_t remusr, const char *outfile );
 int clearsign_file (ctrl_t ctrl,
diff --git a/g10/sign.c b/g10/sign.c
index aaf2840..af1a7b6 100644
--- a/g10/sign.c
+++ b/g10/sign.c
@@ -339,7 +339,7 @@ do_sign (ctrl_t ctrl, PKT_public_key *pksk, PKT_signature *sig,
 }
 
 
-int
+static int
 complete_sig (ctrl_t ctrl,
               PKT_signature *sig, PKT_public_key *pksk, gcry_md_hd_t md,
               const char *cache_nonce)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list