Commit 55322ad8 authored by Ludovic Rousseau's avatar Ludovic Rousseau

Fix compiler warnings

acr122s.c:422: warning: no previous prototype for ‘acr122s_connstring_decode’
acr122s.c:703: warning: no previous prototype for ‘acr122s_abort_command’
parent 054dc9b7
......@@ -417,7 +417,7 @@ struct acr122s_descriptor {
uint32_t speed;
};
int
static int
acr122s_connstring_decode (const nfc_connstring connstring, struct acr122s_descriptor *desc)
{
char *cs = malloc (strlen (connstring) + 1);
......@@ -698,7 +698,7 @@ acr122s_receive(nfc_device *pnd, uint8_t *buf, size_t buf_len, int timeout)
return data_len;
}
int
static int
acr122s_abort_command(nfc_device *pnd)
{
if (pnd) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment