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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/tty_pty.c
          +++ new/usr/src/uts/common/io/tty_pty.c
↓ open down ↓ 115 lines elided ↑ open up ↑
 116  116   */
 117  117  
 118  118  static struct modldrv modldrv = {
 119  119          &mod_driverops, /* Type of module.  This one is a pseudo driver */
 120  120          "tty pseudo driver control 'ptc'",
 121  121          &ptc_ops,       /* driver ops */
 122  122  };
 123  123  
 124  124  static struct modlinkage modlinkage = {
 125  125          MODREV_1,
 126      -        &modldrv,
 127      -        NULL
      126 +        { &modldrv, NULL }
 128  127  };
 129  128  
 130  129  int
 131  130  _init()
 132  131  {
 133  132          int rc;
 134  133  
 135  134          if ((rc = mod_install(&modlinkage)) == 0)
 136  135                  ptc_init();
 137  136          return (rc);
↓ open down ↓ 987 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX