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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/simnet/simnet.c
          +++ new/usr/src/uts/common/io/simnet/simnet.c
↓ open down ↓ 86 lines elided ↑ open up ↑
  87   87      simnet_detach, nodev, simnet_getinfo, D_MP, NULL,
  88   88      ddi_quiesce_not_supported);
  89   89  
  90   90  static struct modldrv simnet_modldrv = {
  91   91          &mod_driverops,         /* Type of module.  This one is a driver */
  92   92          SIMNETINFO,             /* short description */
  93   93          &simnet_dev_ops         /* driver specific ops */
  94   94  };
  95   95  
  96   96  static struct modlinkage modlinkage = {
  97      -        MODREV_1, &simnet_modldrv, NULL
       97 +        MODREV_1, { &simnet_modldrv, NULL }
  98   98  };
  99   99  
 100  100  /* MAC callback function declarations */
 101  101  static int simnet_m_start(void *);
 102  102  static void simnet_m_stop(void *);
 103  103  static int simnet_m_promisc(void *, boolean_t);
 104  104  static int simnet_m_multicst(void *, boolean_t, const uint8_t *);
 105  105  static int simnet_m_unicst(void *, const uint8_t *);
 106  106  static int simnet_m_stat(void *, uint_t, uint64_t *);
 107  107  static void simnet_m_ioctl(void *, queue_t *, mblk_t *);
↓ open down ↓ 1251 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX