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

@@ -23,12 +23,10 @@
  * ISO 9660 System Use Sharing Protocol extension filesystem specifications
  * Copyright (c) 1991,2000,2001 by Sun Microsystems, Inc.
  * All rights reserved.
  */
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 #include <sys/types.h>
 #include <sys/t_lock.h>
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/sysmacros.h>

@@ -66,16 +64,16 @@
 
 /*
  *      Common Signatures for all SUSP
  */
 ext_signature_t  susp_signature_table[ ] = {
-        SUSP_SP,        share_protocol,         /* must be first in table */
-        SUSP_CE,        share_continue,         /* must be second in table */
-        SUSP_PD,        share_padding,
-        SUSP_ER,        share_ext_ref,
-        SUSP_ST,        share_stop,
-        (char *)NULL,   NULL
+        { SUSP_SP,      share_protocol },       /* must be first in table */
+        { SUSP_CE,      share_continue },       /* must be second in table */
+        { SUSP_PD,      share_padding },
+        { SUSP_ER,      share_ext_ref },
+        { SUSP_ST,      share_stop },
+        { NULL,         NULL }
 };
 
 /*
  * These are global pointers referring to the above table, so the
  * positions must not change as marked on the right above.

@@ -91,13 +89,13 @@
  * the RRIP must be the second entry in the table. We need to be able
  * to check the RRIP bit being set, so we must know it's position.
  * RRIP_BIT is set to 2 in rrip.h
  */
 extension_name_t   extension_name_table[]  =  {
-        "SUSP_1991A",   SUSP_VERSION,           susp_signature_table, /* #1 */
-        RRIP_ER_EXT_ID, RRIP_EXT_VERSION,       rrip_signature_table,
-        (char *)NULL,   0,                      (ext_signature_t *)NULL
+        { "SUSP_1991A", SUSP_VERSION,   susp_signature_table }, /* #1 */
+        { RRIP_ER_EXT_ID, RRIP_EXT_VERSION, rrip_signature_table },
+        { NULL,         0,              (ext_signature_t *)NULL }
 };
 
 extension_name_t        *susp_ext_name = extension_name_table;
 
 /*