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

@@ -72,11 +72,11 @@
 static struct modlsched modlsched = {
         &mod_schedops, "time sharing sched class", &csw
 };
 
 static struct modlinkage modlinkage = {
-        MODREV_1, (void *)&modlsched, NULL
+        MODREV_1, { (void *)&modlsched, NULL }
 };
 
 int
 _init()
 {

@@ -237,22 +237,22 @@
 
 static gid_t    IA_gid = 0;
 
 static struct classfuncs ts_classfuncs = {
         /* class functions */
-        ts_admin,
+        {   ts_admin,
         ts_getclinfo,
         ts_parmsin,
         ts_parmsout,
         ts_vaparmsin,
         ts_vaparmsout,
         ts_getclpri,
         ts_alloc,
-        ts_free,
+            ts_free },
 
         /* thread functions */
-        ts_enterclass,
+        {   ts_enterclass,
         ts_exitclass,
         ts_canexit,
         ts_fork,
         ts_forkret,
         ts_parmsget,

@@ -271,11 +271,11 @@
         ts_wakeup,
         ts_donice,
         ts_globpri,
         ts_nullsys,     /* set_process_group */
         ts_yield,
-        ts_doprio,
+            ts_doprio },
 };
 
 /*
  * ia_classfuncs is used for interactive class threads; IA threads are stored
  * on the same class list as TS threads, and most of the class functions are

@@ -282,22 +282,22 @@
  * identical, but a few have different enough functionality to require their
  * own functions.
  */
 static struct classfuncs ia_classfuncs = {
         /* class functions */
-        ts_admin,
+        {   ts_admin,
         ia_getclinfo,
         ia_parmsin,
         ts_parmsout,
         ia_vaparmsin,
         ia_vaparmsout,
         ia_getclpri,
         ts_alloc,
-        ts_free,
+            ts_free },
 
         /* thread functions */
-        ts_enterclass,
+        {   ts_enterclass,
         ts_exitclass,
         ts_canexit,
         ts_fork,
         ts_forkret,
         ia_parmsget,

@@ -316,11 +316,11 @@
         ts_wakeup,
         ts_donice,
         ts_globpri,
         ia_set_process_group,
         ts_yield,
-        ts_doprio,
+            ts_doprio },
 };
 
 
 /*
  * Time sharing class initialization.  Called by dispinit() at boot time.