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


  56         2,
  57         SE_ARGC | SE_32RVAL1 | SE_NOUNLOAD,
  58         (int (*)())pipe
  59 };
  60 
  61 /*
  62  * Module linkage information for the kernel.
  63  */
  64 static struct modlsys modlsys = {
  65         &mod_syscallops, "pipe(2) syscall", &pipe_sysent
  66 };
  67 
  68 #ifdef _SYSCALL32_IMPL
  69 static struct modlsys modlsys32 = {
  70         &mod_syscallops32, "32-bit pipe(2) syscall", &pipe_sysent
  71 };
  72 #endif
  73 
  74 static struct modlinkage modlinkage = {
  75         MODREV_1,
  76         &modlsys,
  77 #ifdef _SYSCALL32_IMPL
  78         &modlsys32,
  79 #endif
  80         NULL

  81 };
  82 
  83 int
  84 _init(void)
  85 {
  86         return (mod_install(&modlinkage));
  87 }
  88 
  89 int
  90 _fini(void)
  91 {
  92         return (EBUSY);
  93 }
  94 
  95 int
  96 _info(struct modinfo *modinfop)
  97 {
  98         return (mod_info(&modlinkage, modinfop));
  99 }
 100 




  56         2,
  57         SE_ARGC | SE_32RVAL1 | SE_NOUNLOAD,
  58         (int (*)())pipe
  59 };
  60 
  61 /*
  62  * Module linkage information for the kernel.
  63  */
  64 static struct modlsys modlsys = {
  65         &mod_syscallops, "pipe(2) syscall", &pipe_sysent
  66 };
  67 
  68 #ifdef _SYSCALL32_IMPL
  69 static struct modlsys modlsys32 = {
  70         &mod_syscallops32, "32-bit pipe(2) syscall", &pipe_sysent
  71 };
  72 #endif
  73 
  74 static struct modlinkage modlinkage = {
  75         MODREV_1,
  76         {   &modlsys,
  77 #ifdef _SYSCALL32_IMPL
  78             &modlsys32,
  79 #endif
  80             NULL
  81         }
  82 };
  83 
  84 int
  85 _init(void)
  86 {
  87         return (mod_install(&modlinkage));
  88 }
  89 
  90 int
  91 _fini(void)
  92 {
  93         return (EBUSY);
  94 }
  95 
  96 int
  97 _info(struct modinfo *modinfop)
  98 {
  99         return (mod_info(&modlinkage, modinfop));
 100 }
 101