Print this page
7127 remove -Wno-missing-braces from Makefile.uts
@@ -168,12 +168,11 @@
&vfw
};
static struct modlinkage modlinkage = {
MODREV_1,
- &modlfs,
- NULL
+ { &modlfs, NULL }
};
int
_init(void)
{
@@ -231,18 +230,18 @@
/* ARGSUSED1 */
static int
pcfsinit(int fstype, char *name)
{
static const fs_operation_def_t pcfs_vfsops_template[] = {
- VFSNAME_MOUNT, { .vfs_mount = pcfs_mount },
- VFSNAME_UNMOUNT, { .vfs_unmount = pcfs_unmount },
- VFSNAME_ROOT, { .vfs_root = pcfs_root },
- VFSNAME_STATVFS, { .vfs_statvfs = pcfs_statvfs },
- VFSNAME_SYNC, { .vfs_sync = pcfs_sync },
- VFSNAME_VGET, { .vfs_vget = pcfs_vget },
- VFSNAME_FREEVFS, { .vfs_freevfs = pcfs_freevfs },
- NULL, NULL
+ { VFSNAME_MOUNT, { .vfs_mount = pcfs_mount } },
+ { VFSNAME_UNMOUNT, { .vfs_unmount = pcfs_unmount } },
+ { VFSNAME_ROOT, { .vfs_root = pcfs_root } },
+ { VFSNAME_STATVFS, { .vfs_statvfs = pcfs_statvfs } },
+ { VFSNAME_SYNC, { .vfs_sync = pcfs_sync } },
+ { VFSNAME_VGET, { .vfs_vget = pcfs_vget } },
+ { VFSNAME_FREEVFS, { .vfs_freevfs = pcfs_freevfs } },
+ { NULL, { NULL } }
};
int error;
error = vfs_setfsops(fstype, pcfs_vfsops_template, NULL);
if (error != 0) {