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


  49         { DACF_OPID_END,        NULL            },
  50 };
  51 
  52 static dacf_opset_t opsets[] = {
  53         { "net_config", net_config_op           },
  54         { NULL,         NULL                    }
  55 };
  56 
  57 static struct dacfsw dacfsw = {
  58         DACF_MODREV_1,
  59         opsets
  60 };
  61 
  62 static struct modldacf modldacf = {
  63         &mod_dacfops,
  64         "net DACF",
  65         &dacfsw
  66 };
  67 
  68 static struct modlinkage modlinkage = {
  69         MODREV_1, &modldacf, NULL
  70 };
  71 
  72 int
  73 _init(void)
  74 {
  75         return (mod_install(&modlinkage));
  76 }
  77 
  78 int
  79 _fini(void)
  80 {
  81         return (mod_remove(&modlinkage));
  82 }
  83 
  84 int
  85 _info(struct modinfo *modinfop)
  86 {
  87         return (mod_info(&modlinkage, modinfop));
  88 }
  89 




  49         { DACF_OPID_END,        NULL            },
  50 };
  51 
  52 static dacf_opset_t opsets[] = {
  53         { "net_config", net_config_op           },
  54         { NULL,         NULL                    }
  55 };
  56 
  57 static struct dacfsw dacfsw = {
  58         DACF_MODREV_1,
  59         opsets
  60 };
  61 
  62 static struct modldacf modldacf = {
  63         &mod_dacfops,
  64         "net DACF",
  65         &dacfsw
  66 };
  67 
  68 static struct modlinkage modlinkage = {
  69         MODREV_1, { &modldacf, NULL }
  70 };
  71 
  72 int
  73 _init(void)
  74 {
  75         return (mod_install(&modlinkage));
  76 }
  77 
  78 int
  79 _fini(void)
  80 {
  81         return (mod_remove(&modlinkage));
  82 }
  83 
  84 int
  85 _info(struct modinfo *modinfop)
  86 {
  87         return (mod_info(&modlinkage, modinfop));
  88 }
  89