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

@@ -67,11 +67,11 @@
 static struct modlsched modlsched = {
         &mod_schedops, "realtime scheduling class", &csw
 };
 
 static struct modlinkage modlinkage = {
-        MODREV_1, (void *)&modlsched, NULL
+        MODREV_1, { (void *)&modlsched, NULL }
 };
 
 int
 _init()
 {

@@ -147,21 +147,21 @@
 
 extern rtdpent_t *rt_getdptbl(void);
 
 static struct classfuncs rt_classfuncs = {
         /* class ops */
-        rt_admin,
+        {   rt_admin,
         rt_getclinfo,
         rt_parmsin,
         rt_parmsout,
         rt_vaparmsin,
         rt_vaparmsout,
         rt_getclpri,
         rt_alloc,
-        rt_free,
+            rt_free },
         /* thread ops */
-        rt_enterclass,
+        {   rt_enterclass,
         rt_exitclass,
         rt_canexit,
         rt_fork,
         rt_forkret,
         rt_parmsget,

@@ -180,11 +180,11 @@
         rt_wakeup,
         rt_donice,
         rt_globpri,
         rt_nullsys,     /* set_process_group */
         rt_yield,
-        rt_doprio,
+            rt_doprio },
 };
 
 /*
  * Real-time class initialization. Called by dispinit() at boot time.
  * We can ignore the clparmsz argument since we know that the smallest