From a5450ddfbd3f2906c7680c0dc1a44a74a9d4f5be Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Thu, 11 Oct 2012 21:24:07 +0000 Subject: [PATCH] Make local function static. --- tools/tools/netmap/pcap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tools/netmap/pcap.c b/tools/tools/netmap/pcap.c index 06e59499defe..2125176b6239 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)); }