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


  79         dscpmk_create_action,   /* ippo_action_create */
  80         dscpmk_modify_action,   /* ippo_action_modify */
  81         dscpmk_destroy_action,  /* ippo_action_destroy */
  82         dscpmk_info,            /* ippo_action_info */
  83         dscpmk_invoke_action    /* ippo_action_invoke */
  84 };
  85 
  86 extern struct mod_ops mod_ippops;
  87 
  88 /*
  89  * Module linkage information for the kernel.
  90  */
  91 static struct modlipp modlipp = {
  92         &mod_ippops,
  93         D_SM_COMMENT,
  94         &dscpmk_ops
  95 };
  96 
  97 static struct modlinkage modlinkage = {
  98         MODREV_1,
  99         (void *)&modlipp,
 100         NULL
 101 };
 102 
 103 
 104 int
 105 _init(void)
 106 {
 107         return (mod_install(&modlinkage));
 108 }
 109 
 110 int
 111 _fini(void)
 112 {
 113         return (mod_remove(&modlinkage));
 114 }
 115 
 116 int
 117 _info(struct modinfo *modinfop)
 118 {
 119         return (mod_info(&modlinkage, modinfop));
 120 }




  79         dscpmk_create_action,   /* ippo_action_create */
  80         dscpmk_modify_action,   /* ippo_action_modify */
  81         dscpmk_destroy_action,  /* ippo_action_destroy */
  82         dscpmk_info,            /* ippo_action_info */
  83         dscpmk_invoke_action    /* ippo_action_invoke */
  84 };
  85 
  86 extern struct mod_ops mod_ippops;
  87 
  88 /*
  89  * Module linkage information for the kernel.
  90  */
  91 static struct modlipp modlipp = {
  92         &mod_ippops,
  93         D_SM_COMMENT,
  94         &dscpmk_ops
  95 };
  96 
  97 static struct modlinkage modlinkage = {
  98         MODREV_1,
  99         { (void *)&modlipp, NULL }

 100 };
 101 
 102 
 103 int
 104 _init(void)
 105 {
 106         return (mod_install(&modlinkage));
 107 }
 108 
 109 int
 110 _fini(void)
 111 {
 112         return (mod_remove(&modlinkage));
 113 }
 114 
 115 int
 116 _info(struct modinfo *modinfop)
 117 {
 118         return (mod_info(&modlinkage, modinfop));
 119 }