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


 172 
 173         VN_RELE(nvp);
 174         args->pathname = opath;
 175         pn_free(&resolvepn);
 176         return (error);
 177 }
 178 
 179 static struct execsw jexecsw = {
 180         javamagicstr,
 181         0,
 182         4,
 183         javaexec,
 184         NULL
 185 };
 186 
 187 static struct modlexec jmodlexec = {
 188         &mod_execops, "exec for Java", &jexecsw
 189 };
 190 
 191 static struct modlinkage jmodlinkage = {
 192         MODREV_1, &jmodlexec, NULL
 193 };
 194 
 195 int
 196 _init(void)
 197 {
 198         return (mod_install(&jmodlinkage));
 199 }
 200 
 201 int
 202 _fini(void)
 203 {
 204         return (mod_remove(&jmodlinkage));
 205 }
 206 
 207 int
 208 _info(struct modinfo *modinfop)
 209 {
 210         return (mod_info(&jmodlinkage, modinfop));
 211 }


 172 
 173         VN_RELE(nvp);
 174         args->pathname = opath;
 175         pn_free(&resolvepn);
 176         return (error);
 177 }
 178 
 179 static struct execsw jexecsw = {
 180         javamagicstr,
 181         0,
 182         4,
 183         javaexec,
 184         NULL
 185 };
 186 
 187 static struct modlexec jmodlexec = {
 188         &mod_execops, "exec for Java", &jexecsw
 189 };
 190 
 191 static struct modlinkage jmodlinkage = {
 192         MODREV_1, { &jmodlexec, NULL }
 193 };
 194 
 195 int
 196 _init(void)
 197 {
 198         return (mod_install(&jmodlinkage));
 199 }
 200 
 201 int
 202 _fini(void)
 203 {
 204         return (mod_remove(&jmodlinkage));
 205 }
 206 
 207 int
 208 _info(struct modinfo *modinfop)
 209 {
 210         return (mod_info(&jmodlinkage, modinfop));
 211 }