Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2014 11:20:23 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r260823 - stable/9/sys/sys
Message-ID:  <201401171120.s0HBKN82039244@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 }				\
 	};									\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401171120.s0HBKN82039244>