local functions should be static

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2008 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
nils 2004-12-13 11:24:53 +00:00
parent f2157e90ba
commit 7a0738ecb6
1 changed files with 7 additions and 7 deletions

View File

@ -58,12 +58,12 @@ const struct {
{ NULL } { NULL }
}; };
int etoken_finish(struct sc_card *card) static int etoken_finish(struct sc_card *card)
{ {
return 0; return 0;
} }
int etoken_identify_card(struct sc_card *card) static int etoken_identify_card(struct sc_card *card)
{ {
int i; int i;
@ -82,12 +82,12 @@ int etoken_identify_card(struct sc_card *card)
return 0; 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; return etoken_identify_card(card) != 0;
} }
int etoken_init(struct sc_card *card) static int etoken_init(struct sc_card *card)
{ {
unsigned long flags; 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; 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 i;
int mode; int mode;
u8 tag,len; u8 tag,len;
@ -220,7 +220,7 @@ u8 etoken_extract_offset(u8 *buf, int buflen) {
return 0; return 0;
} }
u8* etoken_extract_fid(u8 *buf, int buflen) { static u8* etoken_extract_fid(u8 *buf, int buflen) {
int i; int i;
int mode; int mode;
u8 tag,len; u8 tag,len;
@ -256,7 +256,7 @@ u8* etoken_extract_fid(u8 *buf, int buflen) {
return NULL; 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; struct sc_apdu apdu;
u8 rbuf[256]; u8 rbuf[256];