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


  88 };
  89 
  90 static vfsdef_t vfw = {
  91         VFSDEF_VERSION,
  92         "sharefs",
  93         sharefs_init,
  94         VSW_HASPROTO | VSW_ZMOUNT,
  95         &sharefs_mntopts,
  96 };
  97 
  98 extern struct mod_ops   mod_fsops;
  99 
 100 static struct modlfs modlfs = {
 101         &mod_fsops,
 102         "sharetab filesystem",
 103         &vfw
 104 };
 105 
 106 static struct modlinkage modlinkage = {
 107         MODREV_1,
 108         &modlfs,
 109         &modlsys,
 110 #ifdef  _SYSCALL32_IMPL
 111         &modlsys32,
 112 #endif
 113         NULL

 114 };
 115 
 116 int
 117 _init(void)
 118 {
 119         return (mod_install(&modlinkage));
 120 }
 121 
 122 int
 123 _info(struct modinfo *modinfop)
 124 {
 125         return (mod_info(&modlinkage, modinfop));
 126 }
 127 
 128 int
 129 _fini(void)
 130 {
 131         /*
 132          * The sharetab filesystem cannot be unloaded.
 133          */




  88 };
  89 
  90 static vfsdef_t vfw = {
  91         VFSDEF_VERSION,
  92         "sharefs",
  93         sharefs_init,
  94         VSW_HASPROTO | VSW_ZMOUNT,
  95         &sharefs_mntopts,
  96 };
  97 
  98 extern struct mod_ops   mod_fsops;
  99 
 100 static struct modlfs modlfs = {
 101         &mod_fsops,
 102         "sharetab filesystem",
 103         &vfw
 104 };
 105 
 106 static struct modlinkage modlinkage = {
 107         MODREV_1,
 108         {   &modlfs,
 109             &modlsys,
 110 #ifdef  _SYSCALL32_IMPL
 111             &modlsys32,
 112 #endif
 113             NULL
 114         }
 115 };
 116 
 117 int
 118 _init(void)
 119 {
 120         return (mod_install(&modlinkage));
 121 }
 122 
 123 int
 124 _info(struct modinfo *modinfop)
 125 {
 126         return (mod_info(&modlinkage, modinfop));
 127 }
 128 
 129 int
 130 _fini(void)
 131 {
 132         /*
 133          * The sharetab filesystem cannot be unloaded.
 134          */