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


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




  77         tokenmt_create_action,  /* ippo_action_create */
  78         tokenmt_modify_action,  /* ippo_action_modify */
  79         tokenmt_destroy_action, /* ippo_action_destroy */
  80         tokenmt_info,           /* ippo_action_info */
  81         tokenmt_invoke_action   /* ippo_action_invoke */
  82 };
  83 
  84 extern struct mod_ops mod_ippops;
  85 
  86 /*
  87  * Module linkage information for the kernel.
  88  */
  89 static struct modlipp modlipp = {
  90         &mod_ippops,
  91         D_SM_COMMENT,
  92         &tokenmt_ops
  93 };
  94 
  95 static struct modlinkage modlinkage = {
  96         MODREV_1,
  97         { (void *)&modlipp, NULL }

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