Make these functions accept no argument (instead of any).

This commit is contained in:
Romain Tartiere 2012-01-15 11:09:25 +00:00
parent 3ab44974ca
commit 21008cda5d
5 changed files with 9 additions and 9 deletions

View file

@ -58,7 +58,7 @@ struct {
}; };
void void
display_progress () display_progress (void)
{ {
at_block++; at_block++;
if (0 == (at_block % mod_block)) { if (0 == (at_block % mod_block)) {

View file

@ -27,7 +27,7 @@ static MifareTag *tags = NULL;
MifareTag tag = NULL; MifareTag tag = NULL;
void void
cut_setup () cut_setup (void)
{ {
int res; int res;
nfc_device_desc_t devices[8]; nfc_device_desc_t devices[8];
@ -66,7 +66,7 @@ cut_setup ()
} }
void void
cut_teardown () cut_teardown (void)
{ {
if (tag) if (tag)
mifare_classic_disconnect (tag); mifare_classic_disconnect (tag);

View file

@ -27,7 +27,7 @@ static MifareTag *tags = NULL;
MifareTag tag = NULL; MifareTag tag = NULL;
void void
cut_setup () cut_setup (void)
{ {
int res; int res;
nfc_device_desc_t devices[8]; nfc_device_desc_t devices[8];
@ -75,7 +75,7 @@ cut_setup ()
} }
void void
cut_teardown () cut_teardown (void)
{ {
if (tag) if (tag)
mifare_desfire_disconnect (tag); mifare_desfire_disconnect (tag);

View file

@ -27,7 +27,7 @@ static MifareTag *tags = NULL;
MifareTag tag = NULL; MifareTag tag = NULL;
void void
cut_setup () cut_setup (void)
{ {
int res; int res;
nfc_device_desc_t devices[8]; nfc_device_desc_t devices[8];
@ -65,7 +65,7 @@ cut_setup ()
} }
void void
cut_teardown () cut_teardown (void)
{ {
if (tag) if (tag)
mifare_desfire_disconnect (tag); mifare_desfire_disconnect (tag);

View file

@ -27,7 +27,7 @@ static MifareTag *tags = NULL;
MifareTag tag = NULL; MifareTag tag = NULL;
void void
cut_setup () cut_setup (void)
{ {
int res; int res;
nfc_device_desc_t devices[8]; nfc_device_desc_t devices[8];
@ -66,7 +66,7 @@ cut_setup ()
} }
void void
cut_teardown () cut_teardown (void)
{ {
if (tag) if (tag)
mifare_ultralight_disconnect (tag); mifare_ultralight_disconnect (tag);