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


 410 #include <sys/proc.h>
 411 #include <sys/user.h>
 412 #include <sys/ipc.h>
 413 #include <sys/ipc_impl.h>
 414 #include <sys/errno.h>
 415 #include <sys/systm.h>
 416 #include <sys/list.h>
 417 #include <sys/atomic.h>
 418 #include <sys/zone.h>
 419 #include <sys/task.h>
 420 #include <sys/modctl.h>
 421 
 422 #include <c2/audit.h>
 423 
 424 static struct modlmisc modlmisc = {
 425         &mod_miscops,
 426         "common ipc code",
 427 };
 428 
 429 static struct modlinkage modlinkage = {
 430         MODREV_1, (void *)&modlmisc, NULL
 431 };
 432 
 433 
 434 int
 435 _init(void)
 436 {
 437         return (mod_install(&modlinkage));
 438 }
 439 
 440 int
 441 _fini(void)
 442 {
 443         return (mod_remove(&modlinkage));
 444 }
 445 
 446 int
 447 _info(struct modinfo *modinfop)
 448 {
 449         return (mod_info(&modlinkage, modinfop));
 450 }




 410 #include <sys/proc.h>
 411 #include <sys/user.h>
 412 #include <sys/ipc.h>
 413 #include <sys/ipc_impl.h>
 414 #include <sys/errno.h>
 415 #include <sys/systm.h>
 416 #include <sys/list.h>
 417 #include <sys/atomic.h>
 418 #include <sys/zone.h>
 419 #include <sys/task.h>
 420 #include <sys/modctl.h>
 421 
 422 #include <c2/audit.h>
 423 
 424 static struct modlmisc modlmisc = {
 425         &mod_miscops,
 426         "common ipc code",
 427 };
 428 
 429 static struct modlinkage modlinkage = {
 430         MODREV_1, { (void *)&modlmisc, NULL }
 431 };
 432 
 433 
 434 int
 435 _init(void)
 436 {
 437         return (mod_install(&modlinkage));
 438 }
 439 
 440 int
 441 _fini(void)
 442 {
 443         return (mod_remove(&modlinkage));
 444 }
 445 
 446 int
 447 _info(struct modinfo *modinfop)
 448 {
 449         return (mod_info(&modlinkage, modinfop));
 450 }