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


 164  * Module linkage information for the kernel.
 165  */
 166 
 167 static struct modlsys modlsys = {
 168         &mod_syscallops,
 169         "kernel Async I/O",
 170         &kaio_sysent
 171 };
 172 
 173 #ifdef  _SYSCALL32_IMPL
 174 static struct modlsys modlsys32 = {
 175         &mod_syscallops32,
 176         "kernel Async I/O for 32 bit compatibility",
 177         &kaio_sysent32
 178 };
 179 #endif  /* _SYSCALL32_IMPL */
 180 
 181 
 182 static struct modlinkage modlinkage = {
 183         MODREV_1,
 184         &modlsys,
 185 #ifdef  _SYSCALL32_IMPL
 186         &modlsys32,
 187 #endif
 188         NULL

 189 };
 190 
 191 int
 192 _init(void)
 193 {
 194         int retval;
 195 
 196         if ((retval = mod_install(&modlinkage)) != 0)
 197                 return (retval);
 198 
 199         return (0);
 200 }
 201 
 202 int
 203 _fini(void)
 204 {
 205         int retval;
 206 
 207         retval = mod_remove(&modlinkage);
 208 




 164  * Module linkage information for the kernel.
 165  */
 166 
 167 static struct modlsys modlsys = {
 168         &mod_syscallops,
 169         "kernel Async I/O",
 170         &kaio_sysent
 171 };
 172 
 173 #ifdef  _SYSCALL32_IMPL
 174 static struct modlsys modlsys32 = {
 175         &mod_syscallops32,
 176         "kernel Async I/O for 32 bit compatibility",
 177         &kaio_sysent32
 178 };
 179 #endif  /* _SYSCALL32_IMPL */
 180 
 181 
 182 static struct modlinkage modlinkage = {
 183         MODREV_1,
 184         {   &modlsys,
 185 #ifdef  _SYSCALL32_IMPL
 186             &modlsys32,
 187 #endif
 188             NULL
 189         }
 190 };
 191 
 192 int
 193 _init(void)
 194 {
 195         int retval;
 196 
 197         if ((retval = mod_install(&modlinkage)) != 0)
 198                 return (retval);
 199 
 200         return (0);
 201 }
 202 
 203 int
 204 _fini(void)
 205 {
 206         int retval;
 207 
 208         retval = mod_remove(&modlinkage);
 209