Print this page
cstyle sort of updates
7127 remove -Wno-missing-braces from Makefile.uts
@@ -106,15 +106,15 @@
struct cred *cred, caller_context_t *ct);
static void physmem_inactive(vnode_t *vp, cred_t *crp, caller_context_t *ct);
const fs_operation_def_t physmem_vnodeops_template[] = {
- VOPNAME_GETPAGE, { .vop_getpage = physmem_getpage },
- VOPNAME_ADDMAP, { .vop_addmap = physmem_addmap },
- VOPNAME_DELMAP, { .vop_delmap = physmem_delmap },
- VOPNAME_INACTIVE, { .vop_inactive = physmem_inactive },
- NULL, NULL
+ { VOPNAME_GETPAGE, { .vop_getpage = physmem_getpage } },
+ { VOPNAME_ADDMAP, { .vop_addmap = physmem_addmap } },
+ { VOPNAME_DELMAP, { .vop_delmap = physmem_delmap } },
+ { VOPNAME_INACTIVE, { .vop_inactive = physmem_inactive } },
+ { NULL, { NULL } }
};
vnodeops_t *physmem_vnodeops = NULL;
/*
@@ -958,12 +958,11 @@
&physmem_ops
};
static struct modlinkage modlinkage = {
MODREV_1,
- &modldrv,
- NULL
+ { &modldrv, NULL }
};
int
_init(void)
{