Fix compiler warnings

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’
This commit is contained in:
Ludovic Rousseau 2012-05-13 14:48:08 +00:00
parent 55322ad802
commit 324776353a

View file

@ -169,7 +169,7 @@ struct arygon_descriptor {
uint32_t speed; uint32_t speed;
}; };
int static int
arygon_connstring_decode (const nfc_connstring connstring, struct arygon_descriptor *desc) arygon_connstring_decode (const nfc_connstring connstring, struct arygon_descriptor *desc)
{ {
char *cs = malloc (strlen (connstring) + 1); 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; return NFC_SUCCESS;
} }
int static int
arygon_abort (nfc_device *pnd) arygon_abort (nfc_device *pnd)
{ {
// Send a valid TAMA packet to wakup the PN53x (we will not have an answer, according to Arygon manual) // 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; return NFC_SUCCESS;
} }
int static int
arygon_abort_command (nfc_device *pnd) arygon_abort_command (nfc_device *pnd)
{ {
if (pnd) { if (pnd) {