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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/gldutil.c
          +++ new/usr/src/uts/common/io/gldutil.c
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  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   * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  22   22   * Use is subject to license terms.
  23   23   */
  24   24  
  25      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  26      -
  27   25  /*
  28   26   * gld - Generic LAN Driver
  29   27   * media dependent routines
  30   28   */
  31   29  
  32   30  #include <sys/types.h>
  33   31  #include <sys/errno.h>
  34   32  #include <sys/stropts.h>
  35   33  #include <sys/stream.h>
  36   34  #include <sys/kmem.h>
↓ open down ↓ 24 lines elided ↑ open up ↑
  61   59  
  62   60  extern void gld_bitrevcopy(caddr_t src, caddr_t target, size_t n);
  63   61  extern char *gld_macaddr_sprintf(char *, unsigned char *, int);
  64   62  extern gld_vlan_t *gld_find_vlan(gld_mac_info_t *, uint32_t);
  65   63  extern uint32_t gld_global_options;
  66   64  
  67   65  static struct   llc_snap_hdr llc_snap_def = {
  68   66          LSAP_SNAP,              /* DLSAP 0xaa */
  69   67          LSAP_SNAP,              /* SLSAP 0xaa */
  70   68          CNTL_LLC_UI,            /* Control 0x03 */
  71      -        0x00, 0x00, 0x00,       /* Org[3] */
       69 +        { 0x00, 0x00, 0x00 },   /* Org[3] */
  72   70          0x00                    /* Type */
  73   71  };
  74   72  
  75   73  #define ISETHERTYPE(snaphdr) \
  76   74          (snaphdr->d_lsap == LSAP_SNAP && \
  77   75          snaphdr->s_lsap == LSAP_SNAP && \
  78   76          snaphdr->control == CNTL_LLC_UI && \
  79   77          snaphdr->org[0] == 0 && \
  80   78          snaphdr->org[1] == 0 && \
  81   79          snaphdr->org[2] == 0)
↓ open down ↓ 2401 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX