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

@@ -21,12 +21,10 @@
 /*
  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 #include <sys/param.h>
 #include <sys/types.h>
 #include <sys/systm.h>
 #include <sys/cred.h>
 #include <sys/user.h>

@@ -160,11 +158,11 @@
 static struct modlmisc modlmisc = {
         &mod_miscops, "Boot diskless"
 };
 
 static struct modlinkage modlinkage = {
-        MODREV_1, (void *)&modlmisc, NULL
+        MODREV_1, { (void *)&modlmisc, NULL }
 };
 
 static int      dldebug;
 
 int

@@ -236,11 +234,11 @@
 /*
  * Should be in some common
  * ethernet source file.
  */
 static struct ether_addr etherbroadcastaddr = {
-        0xff, 0xff, 0xff, 0xff, 0xff, 0xff
+        { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }
 };
 
 static struct ether_addr myether;
 
 /*