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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/nfs/nfs_dlinet.c
          +++ new/usr/src/uts/common/fs/nfs/nfs_dlinet.c
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
  24   24   */
  25   25  
  26      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  27      -
  28   26  #include <sys/param.h>
  29   27  #include <sys/types.h>
  30   28  #include <sys/systm.h>
  31   29  #include <sys/cred.h>
  32   30  #include <sys/user.h>
  33   31  #include <sys/file.h>
  34   32  #include <sys/stream.h>
  35   33  #include <sys/strsubr.h>
  36   34  #include <sys/stropts.h>
  37   35  #include <sys/strsun.h>
↓ open down ↓ 117 lines elided ↑ open up ↑
 155  153  struct  dladdr {
 156  154          uchar_t         dl_phys[6];
 157  155          ushort_t        dl_sap;
 158  156  };
 159  157  
 160  158  static struct modlmisc modlmisc = {
 161  159          &mod_miscops, "Boot diskless"
 162  160  };
 163  161  
 164  162  static struct modlinkage modlinkage = {
 165      -        MODREV_1, (void *)&modlmisc, NULL
      163 +        MODREV_1, { (void *)&modlmisc, NULL }
 166  164  };
 167  165  
 168  166  static int      dldebug;
 169  167  
 170  168  int
 171  169  _init(void)
 172  170  {
 173  171          return (mod_install(&modlinkage));
 174  172  }
 175  173  
↓ open down ↓ 55 lines elided ↑ open up ↑
 231  229  
 232  230  static char             *inet_ntoa(struct in_addr);
 233  231  static int              inet_aton(char *, uchar_t *);
 234  232  static int              isdigit(int);
 235  233  
 236  234  /*
 237  235   * Should be in some common
 238  236   * ethernet source file.
 239  237   */
 240  238  static struct ether_addr etherbroadcastaddr = {
 241      -        0xff, 0xff, 0xff, 0xff, 0xff, 0xff
      239 +        { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }
 242  240  };
 243  241  
 244  242  static struct ether_addr myether;
 245  243  
 246  244  /*
 247  245   * "ifname" is the interface name/unit as read from the boot
 248  246   * arguments.
 249  247   * "ndev" is the major device number of the network interface
 250  248   * used to boot from.
 251  249   * "ifunit" it the physical point of attachment for the network
↓ open down ↓ 2512 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX