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

*** 664,684 **** */ int nameinit(int fstype, char *name) { static const fs_operation_def_t nm_vfsops_template[] = { ! VFSNAME_MOUNT, { .vfs_mount = nm_mount }, ! VFSNAME_UNMOUNT, { .vfs_unmount = nm_unmount }, ! VFSNAME_ROOT, { .vfs_root = nm_root }, ! VFSNAME_STATVFS, { .vfs_statvfs = nm_statvfs }, ! VFSNAME_SYNC, { .vfs_sync = nm_sync }, ! NULL, NULL }; static const fs_operation_def_t nm_dummy_vfsops_template[] = { ! VFSNAME_STATVFS, { .vfs_statvfs = nm_statvfs }, ! VFSNAME_SYNC, { .vfs_sync = nm_sync }, ! NULL, NULL }; int error; int dev; vfsops_t *dummy_vfsops; --- 664,684 ---- */ int nameinit(int fstype, char *name) { static const fs_operation_def_t nm_vfsops_template[] = { ! { VFSNAME_MOUNT, { .vfs_mount = nm_mount } }, ! { VFSNAME_UNMOUNT, { .vfs_unmount = nm_unmount } }, ! { VFSNAME_ROOT, { .vfs_root = nm_root } }, ! { VFSNAME_STATVFS, { .vfs_statvfs = nm_statvfs } }, ! { VFSNAME_SYNC, { .vfs_sync = nm_sync } }, ! { NULL, { NULL } } }; static const fs_operation_def_t nm_dummy_vfsops_template[] = { ! { VFSNAME_STATVFS, { .vfs_statvfs = nm_statvfs } }, ! { VFSNAME_SYNC, { .vfs_sync = nm_sync } }, ! { NULL, { NULL } } }; int error; int dev; vfsops_t *dummy_vfsops;
*** 740,750 **** static struct modlfs modlfs = { &mod_fsops, "filesystem for namefs", &vfw }; static struct modlinkage modlinkage = { ! MODREV_1, (void *)&modlfs, NULL }; int _init(void) { --- 740,750 ---- static struct modlfs modlfs = { &mod_fsops, "filesystem for namefs", &vfw }; static struct modlinkage modlinkage = { ! MODREV_1, { (void *)&modlfs, NULL } }; int _init(void) {