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

@@ -65,11 +65,11 @@
 static struct modlsched modlsched = {
         &mod_schedops, "Fixed priority sched class", &csw
 };
 
 static struct modlinkage modlinkage = {
-        MODREV_1, (void *)&modlsched, NULL
+        MODREV_1, { (void *)&modlsched, NULL }
 };
 
 
 /*
  * control flags (kparms->fx_cflags).

@@ -202,22 +202,22 @@
 static void fx_list_release(fxproc_t *);
 
 
 static struct classfuncs fx_classfuncs = {
         /* class functions */
-        fx_admin,
+        {   fx_admin,
         fx_getclinfo,
         fx_parmsin,
         fx_parmsout,
         fx_vaparmsin,
         fx_vaparmsout,
         fx_getclpri,
         fx_alloc,
-        fx_free,
+            fx_free },
 
         /* thread functions */
-        fx_enterclass,
+        {   fx_enterclass,
         fx_exitclass,
         fx_canexit,
         fx_fork,
         fx_forkret,
         fx_parmsget,

@@ -236,11 +236,11 @@
         fx_wakeup,
         fx_donice,
         fx_globpri,
         fx_nullsys,     /* set_process_group */
         fx_yield,
-        fx_doprio,
+            fx_doprio },
 };
 
 
 int
 _init()