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

*** 168,179 **** &vfw }; static struct modlinkage modlinkage = { MODREV_1, ! &modlfs, ! NULL }; int _init(void) { --- 168,178 ---- &vfw }; static struct modlinkage modlinkage = { MODREV_1, ! { &modlfs, NULL } }; int _init(void) {
*** 231,248 **** /* 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 }; int error; error = vfs_setfsops(fstype, pcfs_vfsops_template, NULL); if (error != 0) { --- 230,247 ---- /* 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 } } }; int error; error = vfs_setfsops(fstype, pcfs_vfsops_template, NULL); if (error != 0) {