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

@@ -51,12 +51,11 @@
         "Device Strategy Objects"
 };
 
 static struct modlinkage modlinkage = {
         MODREV_1,
-        &modlmisc,
-        NULL
+        { &modlmisc, NULL }
 };
 
 int
 _init(void)
 {

@@ -199,11 +198,11 @@
         fc_free,
         dsngl_enque,
         dsngl_deque,
         fc_start_kstat,
         fc_stop_kstat,
-        0, 0
+        { NULL, NULL }
 };
 
 struct flc_obj *
 dsngl_create()
 {

@@ -324,11 +323,11 @@
         fc_free,
         dmult_enque,
         dmult_deque,
         fc_start_kstat,
         fc_stop_kstat,
-        0, 0
+        { NULL, NULL }
 };
 
 struct flc_obj *
 dmult_create()
 {

@@ -471,11 +470,11 @@
         duplx_free,
         duplx_enque,
         duplx_deque,
         fc_start_kstat,
         fc_stop_kstat,
-        0, 0
+        { NULL, NULL }
 };
 
 struct flc_obj *
 duplx_create()
 {

@@ -695,11 +694,11 @@
         fc_free,
         dmult_enque,
         dmult_deque,
         fc_start_kstat,
         fc_stop_kstat,
-        0, 0
+        { NULL, NULL }
 };
 
 struct flc_obj *
 adapt_create()
 {

@@ -791,11 +790,11 @@
 struct  que_objops qmerge_ops = {
         que_init,
         qmerge_free,
         qmerge_add,
         qmerge_del,
-        0, 0
+        { NULL, NULL }
 };
 
 /* fields in diskhd */
 #define hd_cnt                  b_back
 #define hd_private              b_forw

@@ -1332,11 +1331,11 @@
 struct  que_objops qfifo_ops = {
         que_init,
         que_free,
         qfifo_add,
         que_del,
-        0, 0
+        { NULL, NULL }
 };
 
 /*
  *      Local static data
  */

@@ -1372,11 +1371,11 @@
 struct  que_objops qsort_ops = {
         que_init,
         que_free,
         qsort_add,
         qsort_del,
-        0, 0
+        { NULL, NULL }
 };
 
 /*
  *      Local static data
  */

@@ -1454,11 +1453,11 @@
 struct  que_objops qtag_ops = {
         que_init,
         que_free,
         qsort_add,
         qsort_del,
-        0, 0
+        { NULL, NULL }
 };
 
 /*
  *      Local static data
  */