Print this page
7127 remove -Wno-missing-braces from Makefile.uts
@@ -838,16 +838,16 @@
return (0);
}
nsc_def_t _nsc_raw_def[] = {
- "Open", (uintptr_t)_raw_open, 0,
- "Close", (uintptr_t)_raw_close, 0,
- "Attach", (uintptr_t)_raw_attach_io, 0,
- "UserRead", (uintptr_t)_raw_uread, 0,
- "UserWrite", (uintptr_t)_raw_uwrite, 0,
- "PartSize", (uintptr_t)_raw_partsize, 0,
- "MaxFbas", (uintptr_t)_raw_maxfbas, 0,
- "Control", (uintptr_t)_raw_control, 0,
- "Provide", NSC_DEVICE, 0,
- 0, 0, 0
+ { "Open", (uintptr_t)_raw_open, 0 },
+ { "Close", (uintptr_t)_raw_close, 0 },
+ { "Attach", (uintptr_t)_raw_attach_io, 0 },
+ { "UserRead", (uintptr_t)_raw_uread, 0 },
+ { "UserWrite", (uintptr_t)_raw_uwrite, 0 },
+ { "PartSize", (uintptr_t)_raw_partsize, 0 },
+ { "MaxFbas", (uintptr_t)_raw_maxfbas, 0 },
+ { "Control", (uintptr_t)_raw_control, 0 },
+ { "Provide", NSC_DEVICE, 0 },
+ { NULL, (uintptr_t)NULL, 0 }
};