svn commit: r241464 - head/tools/tools/netmap

Ed Maste emaste at FreeBSD.org
Thu Oct 11 21:24:08 UTC 2012


Author: emaste
Date: Thu Oct 11 21:24:07 2012
New Revision: 241464
URL: http://svn.freebsd.org/changeset/base/241464

Log:
  Make local function static.

Modified:
  head/tools/tools/netmap/pcap.c

Modified: head/tools/tools/netmap/pcap.c
==============================================================================
--- head/tools/tools/netmap/pcap.c	Thu Oct 11 21:19:42 2012	(r241463)
+++ head/tools/tools/netmap/pcap.c	Thu Oct 11 21:24:07 2012	(r241464)
@@ -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));
 }


More information about the svn-src-head mailing list