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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/conskbd.c
          +++ new/usr/src/uts/common/io/conskbd.c
↓ open down ↓ 209 lines elided ↑ open up ↑
 210  210  static struct modldrv modldrv = {
 211  211          &mod_driverops, /* Type of module.  This one is a pseudo driver */
 212  212          "conskbd multiplexer driver",
 213  213          &conskbd_ops,   /* driver ops */
 214  214  };
 215  215  
 216  216  /*
 217  217   * Module linkage structure
 218  218   */
 219  219  static struct modlinkage modlinkage = {
 220      -        MODREV_1,       /* ml_rev */
 221      -        &modldrv,       /* ml_linkage */
 222      -        NULL            /* NULL terminates the list */
      220 +        MODREV_1,               /* ml_rev */
      221 +        { &modldrv, NULL }      /* ml_linkage */
 223  222  };
 224  223  
 225  224  /*
 226  225   * Debug printing
 227  226   */
 228  227  #ifndef DPRINTF
 229  228  #ifdef DEBUG
 230  229  void    conskbd_dprintf(const char *fmt, ...);
 231  230  #define DPRINTF(l, m, args) \
 232  231          (((l) >= conskbd_errlevel) && ((m) & conskbd_errmask) ? \
↓ open down ↓ 2209 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX