SDT's struct sdt_argtype can be marked static everywhere.

It is only passed to SYSINIT/SYSUNINIT.
This commit is contained in:
ed 2011-11-07 07:09:38 +00:00
parent e97eae1577
commit 1b8d577138

View File

@ -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 } \
}; \