Date: Thu, 11 Oct 2012 21:24:08 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r241464 - head/tools/tools/netmap Message-ID: <201210112124.q9BLO80Y088417@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210112124.q9BLO80Y088417>