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
display_progress ()
display_progress (void)
{
at_block++;
if (0 == (at_block % mod_block)) {

View file

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

View file

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

View file

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

View file

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