summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2012-10-11 21:24:07 +0000
committeremaste <emaste@FreeBSD.org>2012-10-11 21:24:07 +0000
commitf0db6be72a440449ac3ab398db4b0ef2f21fad7b (patch)
tree1dedb7f813693eb30da65ddb7aed57bf18f400c6 /tools
parenta4ce9b8e4a1ea4971e87418c6a9cf73b65432761 (diff)
downloadFreeBSD-src-f0db6be72a440449ac3ab398db4b0ef2f21fad7b.zip
FreeBSD-src-f0db6be72a440449ac3ab398db4b0ef2f21fad7b.tar.gz
Make local function static.
Diffstat (limited to 'tools')
-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