svn commit: r227294 - head/sys/sys
Ed Schouten
ed at FreeBSD.org
Mon Nov 7 07:09:39 UTC 2011
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 } \
}; \
More information about the svn-src-head
mailing list