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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/os/msg.c
          +++ new/usr/src/uts/common/os/msg.c
↓ open down ↓ 298 lines elided ↑ open up ↑
 299  299          { msg_fnd_spc_snd, &msg_fnd_sndr[2] },
 300  300          { msg_fnd_neg_snd, &msg_fnd_sndr[0] }
 301  301  };
 302  302  
 303  303  msg_select_t msg_fnd_rdr[1] = {
 304  304          { msg_fnd_any_rdr, &msg_fnd_rdr[0] },
 305  305  };
 306  306  
 307  307  static struct modlinkage modlinkage = {
 308  308          MODREV_1,
 309      -        &modlsys,
      309 +        {   &modlsys,
 310  310  #ifdef _SYSCALL32_IMPL
 311      -        &modlsys32,
      311 +            &modlsys32,
 312  312  #endif
 313      -        NULL
      313 +            NULL
      314 +        }
 314  315  };
 315  316  
 316  317  #define MSG_SMALL_INIT (size_t)-1
 317  318  int
 318  319  _init(void)
 319  320  {
 320  321          int result;
 321  322  
 322  323          msq_svc = ipcs_create("msqids", rc_project_msgmni, rc_zone_msgmni,
 323  324              sizeof (kmsqid_t), msg_dtor, msg_rmid, AT_IPC_MSG,
↓ open down ↓ 1262 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX