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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/pcbe/core_pcbe.c
          +++ new/usr/src/uts/intel/pcbe/core_pcbe.c
↓ open down ↓ 2011 lines elided ↑ open up ↑
2012 2012  }
2013 2013  
2014 2014  static struct modlpcbe core_modlpcbe = {
2015 2015          &mod_pcbeops,
2016 2016          "Core Performance Counters",
2017 2017          &core_pcbe_ops
2018 2018  };
2019 2019  
2020 2020  static struct modlinkage core_modl = {
2021 2021          MODREV_1,
2022      -        &core_modlpcbe,
     2022 +        { &core_modlpcbe, NULL }
2023 2023  };
2024 2024  
2025 2025  int
2026 2026  _init(void)
2027 2027  {
2028 2028          if (core_pcbe_init() != 0) {
2029 2029                  return (ENOTSUP);
2030 2030          }
2031 2031          return (mod_install(&core_modl));
2032 2032  }
↓ open down ↓ 12 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX