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

*** 77,87 **** static struct modlfs modlfs = { &mod_fsops, "mount information file system", &vfw }; static struct modlinkage modlinkage = { ! MODREV_1, (void *)&modlfs, NULL }; int _init(void) { --- 77,87 ---- static struct modlfs modlfs = { &mod_fsops, "mount information file system", &vfw }; static struct modlinkage modlinkage = { ! MODREV_1, { (void *)&modlfs, NULL } }; int _init(void) {
*** 130,144 **** static int mntinit(int fstype, char *name) { static const fs_operation_def_t mnt_vfsops_template[] = { ! VFSNAME_MOUNT, { .vfs_mount = mntmount }, ! VFSNAME_UNMOUNT, { .vfs_unmount = mntunmount }, ! VFSNAME_ROOT, { .vfs_root = mntroot }, ! VFSNAME_STATVFS, { .vfs_statvfs = mntstatvfs }, ! NULL, NULL }; extern const fs_operation_def_t mnt_vnodeops_template[]; int error; mntfstype = fstype; --- 130,144 ---- static int mntinit(int fstype, char *name) { static const fs_operation_def_t mnt_vfsops_template[] = { ! { VFSNAME_MOUNT, { .vfs_mount = mntmount } }, ! { VFSNAME_UNMOUNT, { .vfs_unmount = mntunmount } }, ! { VFSNAME_ROOT, { .vfs_root = mntroot } }, ! { VFSNAME_STATVFS, { .vfs_statvfs = mntstatvfs } }, ! { NULL, { NULL } } }; extern const fs_operation_def_t mnt_vnodeops_template[]; int error; mntfstype = fstype;