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

*** 106,116 **** static struct modlfs modlfs = { &mod_fsops, "filesystem for tmpfs", &vfw }; static struct modlinkage modlinkage = { ! MODREV_1, &modlfs, NULL }; int _init() { --- 106,116 ---- static struct modlfs modlfs = { &mod_fsops, "filesystem for tmpfs", &vfw }; static struct modlinkage modlinkage = { ! MODREV_1, { &modlfs, NULL } }; int _init() {
*** 170,185 **** */ static int tmpfsinit(int fstype, char *name) { static const fs_operation_def_t tmp_vfsops_template[] = { ! VFSNAME_MOUNT, { .vfs_mount = tmp_mount }, ! VFSNAME_UNMOUNT, { .vfs_unmount = tmp_unmount }, ! VFSNAME_ROOT, { .vfs_root = tmp_root }, ! VFSNAME_STATVFS, { .vfs_statvfs = tmp_statvfs }, ! VFSNAME_VGET, { .vfs_vget = tmp_vget }, ! NULL, NULL }; int error; extern void tmpfs_hash_init(); tmpfs_hash_init(); --- 170,185 ---- */ static int tmpfsinit(int fstype, char *name) { static const fs_operation_def_t tmp_vfsops_template[] = { ! { VFSNAME_MOUNT, { .vfs_mount = tmp_mount } }, ! { VFSNAME_UNMOUNT, { .vfs_unmount = tmp_unmount } }, ! { VFSNAME_ROOT, { .vfs_root = tmp_root } }, ! { VFSNAME_STATVFS, { .vfs_statvfs = tmp_statvfs } }, ! { VFSNAME_VGET, { .vfs_vget = tmp_vget } }, ! { NULL, { NULL } } }; int error; extern void tmpfs_hash_init(); tmpfs_hash_init();