From 21008cda5db5c6c2c0caa0e1defbd6ec9e66acdd Mon Sep 17 00:00:00 2001 From: Romain Tartiere Date: Sun, 15 Jan 2012 11:09:25 +0000 Subject: [PATCH] Make these functions accept no argument (instead of any). --- examples/mifare-classic-format.c | 2 +- test/mifare_classic_fixture.c | 4 ++-- test/mifare_desfire_ev1_fixture.c | 4 ++-- test/mifare_desfire_fixture.c | 4 ++-- test/mifare_ultralight_fixture.c | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/mifare-classic-format.c b/examples/mifare-classic-format.c index f6fc642..883e97f 100644 --- a/examples/mifare-classic-format.c +++ b/examples/mifare-classic-format.c @@ -58,7 +58,7 @@ struct { }; void -display_progress () +display_progress (void) { at_block++; if (0 == (at_block % mod_block)) { diff --git a/test/mifare_classic_fixture.c b/test/mifare_classic_fixture.c index 8148255..4e4fa4f 100644 --- a/test/mifare_classic_fixture.c +++ b/test/mifare_classic_fixture.c @@ -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); diff --git a/test/mifare_desfire_ev1_fixture.c b/test/mifare_desfire_ev1_fixture.c index d87845a..4cf9e49 100644 --- a/test/mifare_desfire_ev1_fixture.c +++ b/test/mifare_desfire_ev1_fixture.c @@ -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); diff --git a/test/mifare_desfire_fixture.c b/test/mifare_desfire_fixture.c index 86c3042..aad01b3 100644 --- a/test/mifare_desfire_fixture.c +++ b/test/mifare_desfire_fixture.c @@ -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); diff --git a/test/mifare_ultralight_fixture.c b/test/mifare_ultralight_fixture.c index 34af5d5..5dabd37 100644 --- a/test/mifare_ultralight_fixture.c +++ b/test/mifare_ultralight_fixture.c @@ -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);