Date: Mon, 7 Nov 2011 07:09:39 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r227294 - head/sys/sys Message-ID: <201111070709.pA779dZS062321@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ed Date: Mon Nov 7 07:09:38 2011 New Revision: 227294 URL: http://svn.freebsd.org/changeset/base/227294 Log: SDT's struct sdt_argtype can be marked static everywhere. It is only passed to SYSINIT/SYSUNINIT. Modified: head/sys/sys/sdt.h Modified: head/sys/sys/sdt.h ============================================================================== --- head/sys/sys/sdt.h Mon Nov 7 06:44:47 2011 (r227293) +++ head/sys/sys/sdt.h Mon Nov 7 07:09:38 2011 (r227294) @@ -190,7 +190,7 @@ struct sdt_provider { (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?201111070709.pA779dZS062321>