From 324776353a14c60573bedcb8911229890e40ae57 Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Sun, 13 May 2012 14:48:08 +0000 Subject: [PATCH] Fix compiler warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit arygon.c:174: warning: no previous prototype for ‘arygon_connstring_decode’ arygon.c:360: warning: no previous prototype for ‘arygon_abort’ arygon.c:545: warning: no previous prototype for ‘arygon_abort_command’ --- libnfc/drivers/arygon.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libnfc/drivers/arygon.c b/libnfc/drivers/arygon.c index 532b9ca..388143a 100644 --- a/libnfc/drivers/arygon.c +++ b/libnfc/drivers/arygon.c @@ -169,7 +169,7 @@ struct arygon_descriptor { uint32_t speed; }; -int +static int arygon_connstring_decode (const nfc_connstring connstring, struct arygon_descriptor *desc) { char *cs = malloc (strlen (connstring) + 1); @@ -355,7 +355,7 @@ arygon_tama_send (nfc_device *pnd, const uint8_t *pbtData, const size_t szData, return NFC_SUCCESS; } -int +static int arygon_abort (nfc_device *pnd) { // Send a valid TAMA packet to wakup the PN53x (we will not have an answer, according to Arygon manual) @@ -540,7 +540,7 @@ arygon_reset_tama (nfc_device *pnd) return NFC_SUCCESS; } -int +static int arygon_abort_command (nfc_device *pnd) { if (pnd) {