Print this page
7127  remove -Wno-missing-braces from Makefile.uts

*** 103,113 **** static struct modlfs modlfs = { &mod_fsops, "/dev filesystem", &sdev_vfssw }; static struct modlinkage modlinkage = { ! MODREV_1, (void *)&modlfs, NULL }; int _init(void) { --- 103,113 ---- static struct modlfs modlfs = { &mod_fsops, "/dev filesystem", &sdev_vfssw }; static struct modlinkage modlinkage = { ! MODREV_1, { (void *)&modlfs, NULL } }; int _init(void) {
*** 143,157 **** /*ARGSUSED*/ static int devinit(int fstype, char *name) { static const fs_operation_def_t dev_vfsops_tbl[] = { ! VFSNAME_MOUNT, { .vfs_mount = sdev_mount }, ! VFSNAME_UNMOUNT, { .vfs_unmount = sdev_unmount }, ! VFSNAME_ROOT, { .vfs_root = sdev_root }, ! VFSNAME_STATVFS, { .vfs_statvfs = sdev_statvfs }, ! NULL, NULL }; int error; extern major_t getudev(void); --- 143,157 ---- /*ARGSUSED*/ static int devinit(int fstype, char *name) { static const fs_operation_def_t dev_vfsops_tbl[] = { ! { VFSNAME_MOUNT, { .vfs_mount = sdev_mount } }, ! { VFSNAME_UNMOUNT, { .vfs_unmount = sdev_unmount } }, ! { VFSNAME_ROOT, { .vfs_root = sdev_root } }, ! { VFSNAME_STATVFS, { .vfs_statvfs = sdev_statvfs } }, ! { NULL, { NULL } } }; int error; extern major_t getudev(void);