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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/syscall/sem.c
          +++ new/usr/src/uts/common/syscall/sem.c
↓ open down ↓ 189 lines elided ↑ open up ↑
 190  190  };
 191  191  
 192  192  #ifdef _SYSCALL32_IMPL
 193  193  static struct modlsys modlsys32 = {
 194  194          &mod_syscallops32, "32-bit System V semaphore facility", &ipcsem_sysent
 195  195  };
 196  196  #endif
 197  197  
 198  198  static struct modlinkage modlinkage = {
 199  199          MODREV_1,
 200      -        &modlsys,
      200 +        {   &modlsys,
 201  201  #ifdef _SYSCALL32_IMPL
 202      -        &modlsys32,
      202 +            &modlsys32,
 203  203  #endif
 204      -        NULL
      204 +            NULL
      205 +        }
 205  206  };
 206  207  
 207  208  
 208  209  int
 209  210  _init(void)
 210  211  {
 211  212          int result;
 212  213  
 213  214          sem_svc = ipcs_create("semids", rc_project_semmni, rc_zone_semmni,
 214  215              sizeof (ksemid_t), sem_dtor, sem_rmid, AT_IPC_SEM,
↓ open down ↓ 1003 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX