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

@@ -54,14 +54,14 @@
 } _nsc_power_t;
 
 #define _P(x)   (((long)(&((_nsc_power_t *)0)->x))/sizeof (long))
 
 static nsc_def_t _nsc_power_def[] = {
-        "Power_Lost",   (uintptr_t)null_power,  _P(pw_power_lost),
-        "Power_OK",     (uintptr_t)null_power,  _P(pw_power_ok),
-        "Power_Down",   (uintptr_t)null_power,  _P(pw_power_down),
-        0,              0,                      0,
+        { "Power_Lost", (uintptr_t)null_power,  _P(pw_power_lost) },
+        { "Power_OK",   (uintptr_t)null_power,  _P(pw_power_ok) },
+        { "Power_Down", (uintptr_t)null_power,  _P(pw_power_down) },
+        { NULL,         (uintptr_t)NULL,        0}
 };
 
 static _nsc_power_t *_power_clients;
 static kmutex_t _power_mutex;