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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/inet/sockmods/sockmod_sctp.c
          +++ new/usr/src/uts/common/inet/sockmods/sockmod_sctp.c
↓ open down ↓ 60 lines elided ↑ open up ↑
  61   61  
  62   62  /*
  63   63   * Module linkage information for the kernel.
  64   64   */
  65   65  static struct modlsockmod modlsockmod = {
  66   66          &mod_sockmodops, "SCTP socket module", &sinfo
  67   67  };
  68   68  
  69   69  static struct modlinkage modlinkage = {
  70   70          MODREV_1,
  71      -        &modlsockmod,
  72      -        NULL
       71 +        { &modlsockmod, NULL }
  73   72  };
  74   73  
  75   74  static int
  76   75  socksctp_init(void)
  77   76  {
  78   77          sosctp_sockcache = kmem_cache_create("sctpsock",
  79   78              sizeof (struct sctp_sonode), 0, socksctp_constructor,
  80   79              socksctp_destructor, NULL, NULL, NULL, 0);
  81   80          sosctp_assoccache = kmem_cache_create("sctp_assoc",
  82   81              sizeof (struct sctp_soassoc), 0, NULL, NULL, NULL, NULL, NULL, 0);
↓ open down ↓ 148 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX