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 }
\
};
\
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"