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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/syscall/pset.c
          +++ new/usr/src/uts/common/syscall/pset.c
↓ open down ↓ 56 lines elided ↑ open up ↑
  57   57  };
  58   58  
  59   59  #ifdef _SYSCALL32_IMPL
  60   60  static struct modlsys modlsys32 = {
  61   61          &mod_syscallops32, "32-bit pset(2) syscall", &pset_sysent
  62   62  };
  63   63  #endif
  64   64  
  65   65  static struct modlinkage modlinkage = {
  66   66          MODREV_1,
  67      -        &modlsys,
       67 +        {   &modlsys,
  68   68  #ifdef _SYSCALL32_IMPL
  69      -        &modlsys32,
       69 +            &modlsys32,
  70   70  #endif
  71      -        NULL
       71 +            NULL
       72 +        }
  72   73  };
  73   74  
  74   75  #define PSET_BADATTR(attr)      ((~PSET_NOESCAPE) & (attr))
  75   76  
  76   77  int
  77   78  _init(void)
  78   79  {
  79   80          return (mod_install(&modlinkage));
  80   81  }
  81   82  
↓ open down ↓ 796 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX