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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/exec/elf/elf.c
          +++ new/usr/src/uts/common/exec/elf/elf.c
↓ open down ↓ 2196 lines elided ↑ open up ↑
2197 2197          elf32core
2198 2198  };
2199 2199  
2200 2200  static struct modlexec modlexec32 = {
2201 2201          &mod_execops, "32-bit exec module for elf", &esw32
2202 2202  };
2203 2203  #endif  /* _LP64 */
2204 2204  
2205 2205  static struct modlinkage modlinkage = {
2206 2206          MODREV_1,
2207      -        (void *)&modlexec,
     2207 +        {   (void *)&modlexec,
2208 2208  #ifdef  _LP64
2209      -        (void *)&modlexec32,
     2209 +            (void *)&modlexec32,
2210 2210  #endif  /* _LP64 */
2211      -        NULL
     2211 +            NULL
     2212 +        }
2212 2213  };
2213 2214  
2214 2215  int
2215 2216  _init(void)
2216 2217  {
2217 2218          return (mod_install(&modlinkage));
2218 2219  }
2219 2220  
2220 2221  int
2221 2222  _fini(void)
↓ open down ↓ 11 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX