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:
parent
55322ad802
commit
324776353a
1 changed files with 3 additions and 3 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue