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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/io/pci/pci_autoconfig.c
          +++ new/usr/src/uts/intel/io/pci/pci_autoconfig.c
↓ open down ↓ 48 lines elided ↑ open up ↑
  49   49  void pci_enumerate(int);
  50   50  void pci_setup_tree(void);
  51   51  void pci_reprogram(void);
  52   52  void bus_res_fini(void);
  53   53  
  54   54  static struct modlmisc modlmisc = {
  55   55          &mod_miscops, "PCI BIOS interface"
  56   56  };
  57   57  
  58   58  static struct modlinkage modlinkage = {
  59      -        MODREV_1, (void *)&modlmisc, NULL
       59 +        MODREV_1, { (void *)&modlmisc, NULL }
  60   60  };
  61   61  
  62   62  int
  63   63  _init(void)
  64   64  {
  65   65          int     err;
  66   66  
  67   67          if ((err = mod_install(&modlinkage)) != 0)
  68   68                  return (err);
  69   69  
↓ open down ↓ 47 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX