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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/pts.c
          +++ new/usr/src/uts/common/io/pts.c
↓ open down ↓ 188 lines elided ↑ open up ↑
 189  189   */
 190  190  
 191  191  static struct modldrv modldrv = {
 192  192          &mod_driverops, /* Type of module.  This one is a pseudo driver */
 193  193          "Slave Stream Pseudo Terminal driver 'pts'",
 194  194          &pts_ops,       /* driver ops */
 195  195  };
 196  196  
 197  197  static struct modlinkage modlinkage = {
 198  198          MODREV_1,
 199      -        &modldrv,
 200      -        NULL
      199 +        { &modldrv, NULL }
 201  200  };
 202  201  
 203  202  int
 204  203  _init(void)
 205  204  {
 206  205          int rc;
 207  206  
 208  207          if ((rc = mod_install(&modlinkage)) == 0)
 209  208                  ptms_init();
 210  209          return (rc);
↓ open down ↓ 536 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX