Drop unused argument.

This commit is contained in:
Romain Tartiere 2012-05-14 13:45:57 +00:00
parent 478d3d92eb
commit b27b742472
2 changed files with 3 additions and 3 deletions

View file

@ -164,7 +164,7 @@ int main(int argc, char * const argv[]) {
}
// Initialize reader/tag structures
mf_init(&t, &r);
mf_init(&r);
if (nfc_initiator_init (r.pdi) < 0) {
nfc_perror (r.pdi, "nfc_initiator_init");
@ -542,7 +542,7 @@ void usage(FILE * stream, int errno) {
exit(errno);
}
void mf_init(mftag *t, mfreader *r) {
void mf_init(mfreader *r) {
// Connect to the first NFC device
nfc_init(NULL);
r->pdi = nfc_open(NULL, NULL);

View file

@ -70,7 +70,7 @@ typedef struct {
void usage(FILE * stream, int errno);
void mf_init(mftag *t, mfreader *r);
void mf_init(mfreader *r);
void mf_configure(nfc_device* pdi);
void mf_select_tag(nfc_device* pdi, nfc_target* pnt);
int trailer_block(uint32_t block);