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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/bignum/bignum_mod.c
          +++ new/usr/src/uts/common/bignum/bignum_mod.c
↓ open down ↓ 31 lines elided ↑ open up ↑
  32   32  extern struct mod_ops mod_cryptoops;
  33   33  
  34   34  /*
  35   35   * Module linkage information for the kernel.
  36   36   */
  37   37  static struct modlmisc modlmisc = {
  38   38          &mod_miscops, "bignum utility module"
  39   39  };
  40   40  
  41   41  static struct modlinkage modlinkage = {
  42      -        MODREV_1, (void *)&modlmisc, NULL
       42 +        MODREV_1, { (void *)&modlmisc, NULL }
  43   43  };
  44   44  
  45   45  
  46   46  int
  47   47  _init(void)
  48   48  {
  49   49          return (mod_install(&modlinkage));
  50   50  }
  51   51  
  52   52  int
  53   53  _fini(void)
  54   54  {
  55   55          return (mod_remove(&modlinkage));
  56   56  }
  57   57  
  58   58  int
  59   59  _info(struct modinfo *modinfop)
  60   60  {
  61   61          return (mod_info(&modlinkage, modinfop));
  62   62  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX