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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/cpc.c
          +++ new/usr/src/uts/common/io/cpc.c
↓ open down ↓ 926 lines elided ↑ open up ↑
 927  927  
 928  928  #ifdef _SYSCALL32_IMPL
 929  929  static struct modlsys modlsys32 = {
 930  930          &mod_syscallops32,
 931  931          "32-bit cpc sampling system call",
 932  932          &cpc_sysent
 933  933  };
 934  934  #endif
 935  935  
 936  936  static struct modlinkage modl = {
 937      -        MODREV_1,
 938      -        &modldrv,
 939      -        &modlsys,
      937 +        MODREV_1, {
      938 +            &modldrv,
      939 +            &modlsys,
 940  940  #ifdef _SYSCALL32_IMPL
 941      -        &modlsys32,
      941 +            &modlsys32,
 942  942  #endif
      943 +            NULL
      944 +        }
 943  945  };
 944  946  
 945  947  int
 946  948  _init(void)
 947  949  {
 948  950          if (kcpc_init() != 0)
 949  951                  return (ENOTSUP);
 950  952  
 951  953          return (mod_install(&modl));
 952  954  }
↓ open down ↓ 12 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX