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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/io/tzmon/tzmon.c
          +++ new/usr/src/uts/i86pc/io/tzmon/tzmon.c
↓ open down ↓ 126 lines elided ↑ open up ↑
 127  127  extern  struct  mod_ops mod_driverops;
 128  128  
 129  129  static  struct modldrv modldrv = {
 130  130          &mod_driverops,
 131  131          "ACPI Thermal Zone Monitor",
 132  132          &tzmon_ops,
 133  133  };
 134  134  
 135  135  static  struct modlinkage modlinkage = {
 136  136          MODREV_1,               /* MODREV_1 indicated by manual */
 137      -        (void *)&modldrv,
 138      -        NULL,                   /* termination of list of linkage structures */
      137 +        { (void *)&modldrv, NULL }
 139  138  };
 140  139  
 141  140  /* globals for this module */
 142  141  static dev_info_t       *tzmon_dip;
 143  142  static thermal_zone_t   *zone_list;
 144  143  static int              zone_count;
 145  144  static kmutex_t         zone_list_lock;
 146  145  static kcondvar_t       zone_list_condvar;
 147  146  
 148  147  
↓ open down ↓ 599 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX