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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/gssapi/gssdmod.c
          +++ new/usr/src/uts/common/gssapi/gssdmod.c
↓ open down ↓ 28 lines elided ↑ open up ↑
  29   29  #include <sys/modctl.h>
  30   30  #include <sys/errno.h>
  31   31  #include <gssapi/kgssapi_defs.h>
  32   32  
  33   33  static struct modlmisc modlmisc = {
  34   34          &mod_miscops, "in-kernel GSSAPI"
  35   35  };
  36   36  
  37   37  static struct modlinkage modlinkage = {
  38   38          MODREV_1,
  39      -        (void *)&modlmisc,
  40      -        NULL
       39 +        { (void *)&modlmisc, NULL }
  41   40  };
  42   41  
  43   42  int
  44   43  _init()
  45   44  {
  46   45          int retval;
  47   46  
  48   47          mutex_init(&gssrpcb_lock, NULL, MUTEX_DEFAULT, NULL);
  49   48          mutex_init(&__kgss_mech_lock, NULL, MUTEX_DEFAULT, NULL);
  50   49          zone_key_create(&gss_zone_key, gss_zone_init, NULL, gss_zone_fini);
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX