From 9811426bc5274ad4f58ab8e3b400244c125ac3ad Mon Sep 17 00:00:00 2001 From: "ludovic.rousseau" Date: Sat, 5 Feb 2011 17:11:18 +0000 Subject: [PATCH] Fix compiled warnings card-authentic.c:1770:1: warning: no previous prototype for function 'authentic_manage_sdo_encode_prvkey' [-Wmissing-prototypes] authentic_manage_sdo_encode_prvkey(struct sc_card *card, struct ... ^ card-authentic.c:1832:1: warning: no previous prototype for function 'authentic_manage_sdo_encode' [-Wmissing-prototypes] authentic_manage_sdo_encode(struct sc_card *card, struct ... ^ git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5132 c6295689-39f2-0310-b995-f0e70906c6a9 --- src/libopensc/card-authentic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libopensc/card-authentic.c b/src/libopensc/card-authentic.c index 1cc93614..abf428e4 100644 --- a/src/libopensc/card-authentic.c +++ b/src/libopensc/card-authentic.c @@ -1766,7 +1766,7 @@ authentic_get_challenge(struct sc_card *card, unsigned char *rnd, size_t len) } -int +static int authentic_manage_sdo_encode_prvkey(struct sc_card *card, struct sc_pkcs15_prkey *prvkey, unsigned char **out, size_t *out_len) { @@ -1828,7 +1828,7 @@ authentic_manage_sdo_encode_prvkey(struct sc_card *card, struct sc_pkcs15_prkey } -int +static int authentic_manage_sdo_encode(struct sc_card *card, struct sc_authentic_sdo *sdo, unsigned long cmd, unsigned char **out, size_t *out_len) {