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

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

@@ -412,15 +410,16 @@
 };
 #endif  /* _SYSCALL32_IMPL */
 
 static struct modlinkage modlinkage = {
         MODREV_1,
-        &modlsys,
+        {   &modlsys,
 #ifdef _SYSCALL32_IMPL
         &modlsys32,
 #endif
         NULL
+        }
 };
 
 port_kstat_t port_kstat = {
         { "ports",      KSTAT_DATA_UINT32 }
 };

@@ -471,11 +470,11 @@
 
 int
 _init(void)
 {
         static const fs_operation_def_t port_vfsops_template[] = {
-                NULL, NULL
+                { NULL, { NULL } }
         };
         extern const    fs_operation_def_t port_vnodeops_template[];
         vfsops_t        *port_vfsops;
         int             error;
         major_t         major;