Fix unused warning

This commit is contained in:
Joseph C. Lehner 2018-09-11 16:31:00 +02:00
parent f6a08220f1
commit c7106becb1

View file

@ -99,6 +99,7 @@ static int x_pcap_findalldevs(pcap_if_t **devs)
return 0;
}
#ifndef NMRPFLASH_LINUX
static int systemf(const char *fmt, ...)
{
char cmd[1024];
@ -116,6 +117,7 @@ static int systemf(const char *fmt, ...)
return ret;
}
#endif
#ifndef NMRPFLASH_WINDOWS
static inline bool sockaddr_get_hwaddr(struct sockaddr *sa, uint8_t *hwaddr)