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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/exec/java/java.c
          +++ new/usr/src/uts/common/exec/java/java.c
↓ open down ↓ 181 lines elided ↑ open up ↑
 182  182          4,
 183  183          javaexec,
 184  184          NULL
 185  185  };
 186  186  
 187  187  static struct modlexec jmodlexec = {
 188  188          &mod_execops, "exec for Java", &jexecsw
 189  189  };
 190  190  
 191  191  static struct modlinkage jmodlinkage = {
 192      -        MODREV_1, &jmodlexec, NULL
      192 +        MODREV_1, { &jmodlexec, NULL }
 193  193  };
 194  194  
 195  195  int
 196  196  _init(void)
 197  197  {
 198  198          return (mod_install(&jmodlinkage));
 199  199  }
 200  200  
 201  201  int
 202  202  _fini(void)
 203  203  {
 204  204          return (mod_remove(&jmodlinkage));
 205  205  }
 206  206  
 207  207  int
 208  208  _info(struct modinfo *modinfop)
 209  209  {
 210  210          return (mod_info(&jmodlinkage, modinfop));
 211  211  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX