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


  58         tswtcl_create_action,   /* ippo_action_create */
  59         tswtcl_modify_action,   /* ippo_action_modify */
  60         tswtcl_destroy_action,  /* ippo_action_destroy */
  61         tswtcl_info,            /* ippo_action_info */
  62         tswtcl_invoke_action    /* ippo_action_invoke */
  63 };
  64 
  65 extern struct mod_ops mod_ippops;
  66 
  67 /*
  68  * Module linkage information for the kernel.
  69  */
  70 static struct modlipp modlipp = {
  71         &mod_ippops,
  72         D_SM_COMMENT,
  73         &tswtcl_ops
  74 };
  75 
  76 static struct modlinkage modlinkage = {
  77         MODREV_1,
  78         (void *)&modlipp,
  79         NULL
  80 };
  81 
  82 
  83 int
  84 _init(void)
  85 {
  86         return (mod_install(&modlinkage));
  87 }
  88 
  89 int
  90 _fini(void)
  91 {
  92         return (mod_remove(&modlinkage));
  93 }
  94 
  95 int
  96 _info(struct modinfo *modinfop)
  97 {
  98         return (mod_info(&modlinkage, modinfop));
  99 }




  58         tswtcl_create_action,   /* ippo_action_create */
  59         tswtcl_modify_action,   /* ippo_action_modify */
  60         tswtcl_destroy_action,  /* ippo_action_destroy */
  61         tswtcl_info,            /* ippo_action_info */
  62         tswtcl_invoke_action    /* ippo_action_invoke */
  63 };
  64 
  65 extern struct mod_ops mod_ippops;
  66 
  67 /*
  68  * Module linkage information for the kernel.
  69  */
  70 static struct modlipp modlipp = {
  71         &mod_ippops,
  72         D_SM_COMMENT,
  73         &tswtcl_ops
  74 };
  75 
  76 static struct modlinkage modlinkage = {
  77         MODREV_1,
  78         { (void *)&modlipp, NULL }

  79 };
  80 
  81 
  82 int
  83 _init(void)
  84 {
  85         return (mod_install(&modlinkage));
  86 }
  87 
  88 int
  89 _fini(void)
  90 {
  91         return (mod_remove(&modlinkage));
  92 }
  93 
  94 int
  95 _info(struct modinfo *modinfop)
  96 {
  97         return (mod_info(&modlinkage, modinfop));
  98 }