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


  92 };
  93 
  94 static struct execsw esw = {
  95         shbinmagicstr,
  96         0,
  97         SHBINMAGIC_LEN,
  98         shbinexec,
  99         NULL
 100 };
 101 
 102 /*
 103  * Module linkage information for the kernel.
 104  */
 105 extern struct mod_ops mod_execops;
 106 
 107 static struct modlexec modlexec = {
 108         &mod_execops, "exec mod for shell binaries (ksh93)", &esw
 109 };
 110 
 111 static struct modlinkage modlinkage = {
 112         MODREV_1, (void *)&modlexec, NULL
 113 };
 114 
 115 int
 116 _init(void)
 117 {
 118         return (mod_install(&modlinkage));
 119 }
 120 
 121 int
 122 _fini(void)
 123 {
 124         return (mod_remove(&modlinkage));
 125 }
 126 
 127 int
 128 _info(struct modinfo *modinfop)
 129 {
 130         return (mod_info(&modlinkage, modinfop));
 131 }
 132 




  92 };
  93 
  94 static struct execsw esw = {
  95         shbinmagicstr,
  96         0,
  97         SHBINMAGIC_LEN,
  98         shbinexec,
  99         NULL
 100 };
 101 
 102 /*
 103  * Module linkage information for the kernel.
 104  */
 105 extern struct mod_ops mod_execops;
 106 
 107 static struct modlexec modlexec = {
 108         &mod_execops, "exec mod for shell binaries (ksh93)", &esw
 109 };
 110 
 111 static struct modlinkage modlinkage = {
 112         MODREV_1, { (void *)&modlexec, NULL }
 113 };
 114 
 115 int
 116 _init(void)
 117 {
 118         return (mod_install(&modlinkage));
 119 }
 120 
 121 int
 122 _fini(void)
 123 {
 124         return (mod_remove(&modlinkage));
 125 }
 126 
 127 int
 128 _info(struct modinfo *modinfop)
 129 {
 130         return (mod_info(&modlinkage, modinfop));
 131 }
 132