From 7a0738ecb69091ac914c5f21d5dbd9eaca7a7cf5 Mon Sep 17 00:00:00 2001 From: nils Date: Mon, 13 Dec 2004 11:24:53 +0000 Subject: [PATCH] local functions should be static git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2008 c6295689-39f2-0310-b995-f0e70906c6a9 --- src/libopensc/card-etoken.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/libopensc/card-etoken.c b/src/libopensc/card-etoken.c index 7e1320de..8acd8cf8 100644 --- a/src/libopensc/card-etoken.c +++ b/src/libopensc/card-etoken.c @@ -58,12 +58,12 @@ const struct { { NULL } }; -int etoken_finish(struct sc_card *card) +static int etoken_finish(struct sc_card *card) { return 0; } -int etoken_identify_card(struct sc_card *card) +static int etoken_identify_card(struct sc_card *card) { int i; @@ -82,12 +82,12 @@ int etoken_identify_card(struct sc_card *card) return 0; } -int etoken_match_card(struct sc_card *card) +static int etoken_match_card(struct sc_card *card) { return etoken_identify_card(card) != 0; } -int etoken_init(struct sc_card *card) +static int etoken_init(struct sc_card *card) { unsigned long flags; @@ -186,7 +186,7 @@ static int etoken_check_sw(struct sc_card *card, int sw1, int sw2) return SC_ERROR_CARD_CMD_FAILED; } -u8 etoken_extract_offset(u8 *buf, int buflen) { +static u8 etoken_extract_offset(u8 *buf, int buflen) { int i; int mode; u8 tag,len; @@ -220,7 +220,7 @@ u8 etoken_extract_offset(u8 *buf, int buflen) { return 0; } -u8* etoken_extract_fid(u8 *buf, int buflen) { +static u8* etoken_extract_fid(u8 *buf, int buflen) { int i; int mode; u8 tag,len; @@ -256,7 +256,7 @@ u8* etoken_extract_fid(u8 *buf, int buflen) { return NULL; } -int etoken_list_files(struct sc_card *card, u8 *buf, size_t buflen) +static int etoken_list_files(struct sc_card *card, u8 *buf, size_t buflen) { struct sc_apdu apdu; u8 rbuf[256];