svn commit: r260823 - stable/9/sys/sys

Andriy Gapon avg at FreeBSD.org
Fri Jan 17 11:20:23 UTC 2014


Author: avg
Date: Fri Jan 17 11:20:23 2014
New Revision: 260823
URL: http://svnweb.freebsd.org/changeset/base/260823

Log:
  MFC r227294: SDT's struct sdt_argtype can be marked static everywhere
  
  MFC slacker:	ed

Modified:
  stable/9/sys/sys/sdt.h
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/sys/   (props changed)

Modified: stable/9/sys/sys/sdt.h
==============================================================================
--- stable/9/sys/sys/sdt.h	Fri Jan 17 11:18:39 2014	(r260822)
+++ stable/9/sys/sys/sdt.h	Fri Jan 17 11:20:23 2014	(r260823)
@@ -143,7 +143,7 @@ SET_DECLARE(sdt_argtypes_set, struct sdt
 		    (uintptr_t) arg3, (uintptr_t) arg4)
 
 #define SDT_PROBE_ARGTYPE(prov, mod, func, name, num, type)			\
-	struct sdt_argtype sdt_##prov##_##mod##_##func##_##name##num[1]		\
+	static struct sdt_argtype sdt_##prov##_##mod##_##func##_##name##num[1]	\
 	    = { { num, type, { NULL, NULL },					\
 	    sdt_##prov##_##mod##_##func##_##name }				\
 	};									\


More information about the svn-src-stable mailing list