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


  66 
  67 extern pri_t    minclsyspri;    /* priority for taskq */
  68 
  69 static clock_t  au_resid = 15;  /* wait .15 sec before droping a rec */
  70 
  71 static void     au_output_thread();
  72 
  73 /*
  74  * This is the loadable module wrapper.
  75  */
  76 #include <sys/modctl.h>
  77 
  78 /*
  79  * Module linkage information for the kernel.
  80  */
  81 static struct modlmisc modlmisc = {
  82         &mod_miscops, "Solaris Auditing (C2)"
  83 };
  84 
  85 static struct modlinkage modlinkage = {
  86         MODREV_1, (void *)&modlmisc, 0
  87 };
  88 
  89 int
  90 _init()
  91 {
  92         return (mod_install(&modlinkage));
  93 }
  94 
  95 int
  96 _fini()
  97 {
  98         return (EBUSY);
  99 }
 100 
 101 int
 102 _info(struct modinfo *modinfop)
 103 {
 104         return (mod_info(&modlinkage, modinfop));
 105 }
 106 




  66 
  67 extern pri_t    minclsyspri;    /* priority for taskq */
  68 
  69 static clock_t  au_resid = 15;  /* wait .15 sec before droping a rec */
  70 
  71 static void     au_output_thread();
  72 
  73 /*
  74  * This is the loadable module wrapper.
  75  */
  76 #include <sys/modctl.h>
  77 
  78 /*
  79  * Module linkage information for the kernel.
  80  */
  81 static struct modlmisc modlmisc = {
  82         &mod_miscops, "Solaris Auditing (C2)"
  83 };
  84 
  85 static struct modlinkage modlinkage = {
  86         MODREV_1, { (void *)&modlmisc, NULL }
  87 };
  88 
  89 int
  90 _init()
  91 {
  92         return (mod_install(&modlinkage));
  93 }
  94 
  95 int
  96 _fini()
  97 {
  98         return (EBUSY);
  99 }
 100 
 101 int
 102 _info(struct modinfo *modinfop)
 103 {
 104         return (mod_info(&modlinkage, modinfop));
 105 }
 106