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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/consms.c
          +++ new/usr/src/uts/common/io/consms.c
↓ open down ↓ 215 lines elided ↑ open up ↑
 216  216   */
 217  217  
 218  218  static struct modldrv modldrv = {
 219  219          &mod_driverops, /* Type of module.  This one is a pseudo driver */
 220  220          "Mouse Driver for Sun 'consms' 5.57",
 221  221          &consms_ops,    /* driver ops */
 222  222  };
 223  223  
 224  224  static struct modlinkage modlinkage = {
 225  225          MODREV_1,
 226      -        (void *)&modldrv,
 227      -        NULL
      226 +        { (void *)&modldrv, NULL }
 228  227  };
 229  228  
 230  229  int
 231  230  _init(void)
 232  231  {
 233  232          int     error;
 234  233  
 235  234          mutex_init(&consmslock, NULL, MUTEX_DRIVER, NULL);
 236  235          mutex_init(&consms_msg_lock, NULL, MUTEX_DRIVER, NULL);
 237  236          error = mod_install(&modlinkage);
↓ open down ↓ 1177 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX