From 71a5295e7d08a40d524b97bb1f64b848c7ef656e Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Fri, 18 May 2012 16:30:45 +0000 Subject: [PATCH] Fix compiler warnings mifare_desfire.c:196: warning: no previous prototype for 'madame_soleil_get_read_communication_settings' mifare_desfire.c:210: warning: no previous prototype for 'madame_soleil_get_write_communication_settings' mifare_desfire.c:642: warning: no previous prototype for 'create_application' --- libfreefare/mifare_desfire.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libfreefare/mifare_desfire.c b/libfreefare/mifare_desfire.c index 24c5df0..a8dff81 100644 --- a/libfreefare/mifare_desfire.c +++ b/libfreefare/mifare_desfire.c @@ -191,7 +191,7 @@ static ssize_t read_data (MifareTag tag, uint8_t command, uint8_t file_no, off_ static int32_t le24toh (uint8_t data[3]); -int +static int madame_soleil_get_read_communication_settings (MifareTag tag, uint8_t file_no) { struct mifare_desfire_file_settings settings; @@ -205,7 +205,7 @@ madame_soleil_get_read_communication_settings (MifareTag tag, uint8_t file_no) return 0; } -int +static int madame_soleil_get_write_communication_settings (MifareTag tag, uint8_t file_no) { struct mifare_desfire_file_settings settings; @@ -637,7 +637,7 @@ mifare_desfire_get_key_version (MifareTag tag, uint8_t key_no, uint8_t *version) -int +static int create_application (MifareTag tag, MifareDESFireAID aid, uint8_t settings1, uint8_t settings2, int want_iso_application, int want_iso_file_identifiers, uint16_t iso_file_id, uint8_t *iso_file_name, size_t iso_file_name_len) { ASSERT_ACTIVE (tag);