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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/crypto/io/edonr_mod.c
          +++ new/usr/src/uts/common/crypto/io/edonr_mod.c
↓ open down ↓ 34 lines elided ↑ open up ↑
  35   35   * Framework (KCF), because Edon-R is *NOT* suitable for general-purpose
  36   36   * cryptographic use. Users of Edon-R must interface directly to this module.
  37   37   */
  38   38  
  39   39  static struct modlmisc modlmisc = {
  40   40          &mod_miscops,
  41   41          "Edon-R Message-Digest Algorithm"
  42   42  };
  43   43  
  44   44  static struct modlinkage modlinkage = {
  45      -        MODREV_1, &modlmisc, NULL
       45 +        MODREV_1, { &modlmisc, NULL }
  46   46  };
  47   47  
  48   48  int
  49   49  _init(void)
  50   50  {
  51   51          int error;
  52   52  
  53   53          if ((error = mod_install(&modlinkage)) != 0)
  54   54                  return (error);
  55   55  
  56   56          return (0);
  57   57  }
  58   58  
  59   59  int
  60   60  _info(struct modinfo *modinfop)
  61   61  {
  62   62          return (mod_info(&modlinkage, modinfop));
  63   63  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX