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


  57     struct intpdata *, int, long *, int, caddr_t, struct cred *, int);
  58 
  59 static struct execsw esw = {
  60         intpmagicstr,
  61         0,
  62         2,
  63         intpexec,
  64         NULL
  65 };
  66 
  67 /*
  68  * Module linkage information for the kernel.
  69  */
  70 extern struct mod_ops mod_execops;
  71 
  72 static struct modlexec modlexec = {
  73         &mod_execops, "exec mod for interp", &esw
  74 };
  75 
  76 static struct modlinkage modlinkage = {
  77         MODREV_1, (void *)&modlexec, NULL
  78 };
  79 
  80 int
  81 _init()
  82 {
  83         return (mod_install(&modlinkage));
  84 }
  85 
  86 int
  87 _fini()
  88 {
  89         return (mod_remove(&modlinkage));
  90 }
  91 
  92 int
  93 _info(struct modinfo *modinfop)
  94 {
  95         return (mod_info(&modlinkage, modinfop));
  96 }
  97 




  57     struct intpdata *, int, long *, int, caddr_t, struct cred *, int);
  58 
  59 static struct execsw esw = {
  60         intpmagicstr,
  61         0,
  62         2,
  63         intpexec,
  64         NULL
  65 };
  66 
  67 /*
  68  * Module linkage information for the kernel.
  69  */
  70 extern struct mod_ops mod_execops;
  71 
  72 static struct modlexec modlexec = {
  73         &mod_execops, "exec mod for interp", &esw
  74 };
  75 
  76 static struct modlinkage modlinkage = {
  77         MODREV_1, { (void *)&modlexec, NULL }
  78 };
  79 
  80 int
  81 _init()
  82 {
  83         return (mod_install(&modlinkage));
  84 }
  85 
  86 int
  87 _fini()
  88 {
  89         return (mod_remove(&modlinkage));
  90 }
  91 
  92 int
  93 _info(struct modinfo *modinfop)
  94 {
  95         return (mod_info(&modlinkage, modinfop));
  96 }
  97