summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/tools/netmap/pcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tools/netmap/pcap.c b/tools/tools/netmap/pcap.c
index 06e5949..2125176 100644
--- a/tools/tools/netmap/pcap.c
+++ b/tools/tools/netmap/pcap.c
@@ -49,7 +49,7 @@ int verbose = 0;
__FUNCTION__, __LINE__, ##__VA_ARGS__); \
} while (0)
-inline void prefetch (const void *x)
+static inline void prefetch (const void *x)
{
__asm volatile("prefetcht0 %0" :: "m" (*(const unsigned long *)x));
}
OpenPOWER on IntegriCloud