Fix unused warning
This commit is contained in:
parent
f6a08220f1
commit
c7106becb1
1 changed files with 2 additions and 0 deletions
|
|
@ -99,6 +99,7 @@ static int x_pcap_findalldevs(pcap_if_t **devs)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef NMRPFLASH_LINUX
|
||||||
static int systemf(const char *fmt, ...)
|
static int systemf(const char *fmt, ...)
|
||||||
{
|
{
|
||||||
char cmd[1024];
|
char cmd[1024];
|
||||||
|
|
@ -116,6 +117,7 @@ static int systemf(const char *fmt, ...)
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef NMRPFLASH_WINDOWS
|
#ifndef NMRPFLASH_WINDOWS
|
||||||
static inline bool sockaddr_get_hwaddr(struct sockaddr *sa, uint8_t *hwaddr)
|
static inline bool sockaddr_get_hwaddr(struct sockaddr *sa, uint8_t *hwaddr)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue