From c7106becb164f4a9d2f2f13f0e982303097de7ed Mon Sep 17 00:00:00 2001 From: "Joseph C. Lehner" Date: Tue, 11 Sep 2018 16:31:00 +0200 Subject: [PATCH] Fix unused warning --- ethsock.c | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.25.1