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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/exec/shbin/shbin.c
          +++ new/usr/src/uts/common/exec/shbin/shbin.c
↓ open down ↓ 101 lines elided ↑ open up ↑
 102  102  /*
 103  103   * Module linkage information for the kernel.
 104  104   */
 105  105  extern struct mod_ops mod_execops;
 106  106  
 107  107  static struct modlexec modlexec = {
 108  108          &mod_execops, "exec mod for shell binaries (ksh93)", &esw
 109  109  };
 110  110  
 111  111  static struct modlinkage modlinkage = {
 112      -        MODREV_1, (void *)&modlexec, NULL
      112 +        MODREV_1, { (void *)&modlexec, NULL }
 113  113  };
 114  114  
 115  115  int
 116  116  _init(void)
 117  117  {
 118  118          return (mod_install(&modlinkage));
 119  119  }
 120  120  
 121  121  int
 122  122  _fini(void)
↓ open down ↓ 145 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX