[Pkg-gnupg-commit] [gnupg2] 19/241: gpg: Mark local function as static.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Dec 9 20:31:48 UTC 2015


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

dkg pushed a commit to branch master
in repository gnupg2.

commit 547a1b3fb881bb8581d03dbf4eacf49163eaa4b5
Author: Neal H. Walfield <neal at g10code.com>
Date:   Mon Oct 19 10:51:05 2015 +0200

    gpg: Mark local function as static.
    
    * g10/tdbio.c (put_record_into_cache): Mark as static.
    
    --
    Signed-off-by: Neal H. Walfield <neal at g10code.com>
---
 g10/tdbio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/g10/tdbio.c b/g10/tdbio.c
index 69b9789..c7432a8 100644
--- a/g10/tdbio.c
+++ b/g10/tdbio.c
@@ -225,7 +225,7 @@ write_cache_item (CACHE_CTRL r)
  *
  * Returns: 0 on success or an error code.
  */
-int
+static int
 put_record_into_cache (ulong recno, const char *data)
 {
   CACHE_CTRL r, unused;

-- 
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