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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/ptm.c
          +++ new/usr/src/uts/common/io/ptm.c
↓ open down ↓ 206 lines elided ↑ open up ↑
 207  207   */
 208  208  
 209  209  static struct modldrv modldrv = {
 210  210          &mod_driverops, /* Type of module.  This one is a pseudo driver */
 211  211          "Master streams driver 'ptm'",
 212  212          &ptm_ops,       /* driver ops */
 213  213  };
 214  214  
 215  215  static struct modlinkage modlinkage = {
 216  216          MODREV_1,
 217      -        &modldrv,
 218      -        NULL
      217 +        { &modldrv, NULL }
 219  218  };
 220  219  
 221  220  int
 222  221  _init(void)
 223  222  {
 224  223          int rc;
 225  224  
 226  225          if ((rc = mod_install(&modlinkage)) == 0)
 227  226                  ptms_init();
 228  227          return (rc);
↓ open down ↓ 476 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX