From: Joseph C. Lehner Date: Tue, 11 Sep 2018 14:31:00 +0000 (+0200) Subject: Fix unused warning X-Git-Tag: v0.9.13~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c7106becb164f4a9d2f2f13f0e982303097de7ed;p=oweals%2Fnmrpflash.git Fix unused warning --- diff --git a/ethsock.c b/ethsock.c index 088ec9c..76a044c 100644 --- a/ethsock.c +++ b/ethsock.c @@ -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)