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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/cpudrv.c
          +++ new/usr/src/uts/common/io/cpudrv.c
↓ open down ↓ 99 lines elided ↑ open up ↑
 100  100  };
 101  101  
 102  102  static struct modldrv modldrv = {
 103  103          &mod_driverops,                 /* modops */
 104  104          "CPU Driver",                   /* linkinfo */
 105  105          &cpudrv_ops,                    /* dev_ops */
 106  106  };
 107  107  
 108  108  static struct modlinkage modlinkage = {
 109  109          MODREV_1,               /* rev */
 110      -        &modldrv,               /* linkage */
 111      -        NULL
      110 +        { &modldrv, NULL }      /* linkage */
 112  111  };
 113  112  
 114  113  /*
 115  114   * Function prototypes
 116  115   */
 117  116  static int cpudrv_init(cpudrv_devstate_t *cpudsp);
 118  117  static void cpudrv_free(cpudrv_devstate_t *cpudsp);
 119  118  static int cpudrv_comp_create(cpudrv_devstate_t *cpudsp);
 120  119  static void cpudrv_monitor_disp(void *arg);
 121  120  static void cpudrv_monitor(void *arg);
↓ open down ↓ 1078 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX