[PATCH] Fix static build

Jussi Kivilinna jussi.kivilinna at iki.fi
Fri Jul 1 22:07:58 CEST 2016


* tests/pubkey.c (_gcry_pk_util_get_nbits): Make function 'static'.
--

Signed-off-by: Jussi Kivilinna <jussi.kivilinna at iki.fi>
---
 0 files changed

diff --git a/tests/pubkey.c b/tests/pubkey.c
index 3eb5b4f..1271e43 100644
--- a/tests/pubkey.c
+++ b/tests/pubkey.c
@@ -175,7 +175,7 @@ show_sexp (const char *prefix, gcry_sexp_t a)
 }
 
 /* from ../cipher/pubkey-util.c */
-gpg_err_code_t
+static gpg_err_code_t
 _gcry_pk_util_get_nbits (gcry_sexp_t list, unsigned int *r_nbits)
 {
   char buf[50];




More information about the Gcrypt-devel mailing list