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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/os/shm.c
          +++ new/usr/src/uts/common/os/shm.c
↓ open down ↓ 200 lines elided ↑ open up ↑
 201  201  };
 202  202  
 203  203  #ifdef  _SYSCALL32_IMPL
 204  204  static struct modlsys modlsys32 = {
 205  205          &mod_syscallops32, "32-bit System V shared memory", &ipcshm_sysent32
 206  206  };
 207  207  #endif  /* _SYSCALL32_IMPL */
 208  208  
 209  209  static struct modlinkage modlinkage = {
 210  210          MODREV_1,
 211      -        &modlsys,
      211 +        {   &modlsys,
 212  212  #ifdef  _SYSCALL32_IMPL
 213      -        &modlsys32,
      213 +            &modlsys32,
 214  214  #endif
 215      -        NULL
      215 +            NULL
      216 +        }
 216  217  };
 217  218  
 218  219  
 219  220  int
 220  221  _init(void)
 221  222  {
 222  223          int result;
 223  224  
 224  225          shm_svc = ipcs_create("shmids", rc_project_shmmni, rc_zone_shmmni,
 225  226              sizeof (kshmid_t), shm_dtor, shm_rmid, AT_IPC_SHM,
↓ open down ↓ 1085 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX