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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/syscall/pipe.c
          +++ new/usr/src/uts/common/syscall/pipe.c
↓ open down ↓ 65 lines elided ↑ open up ↑
  66   66  };
  67   67  
  68   68  #ifdef _SYSCALL32_IMPL
  69   69  static struct modlsys modlsys32 = {
  70   70          &mod_syscallops32, "32-bit pipe(2) syscall", &pipe_sysent
  71   71  };
  72   72  #endif
  73   73  
  74   74  static struct modlinkage modlinkage = {
  75   75          MODREV_1,
  76      -        &modlsys,
       76 +        {   &modlsys,
  77   77  #ifdef _SYSCALL32_IMPL
  78      -        &modlsys32,
       78 +            &modlsys32,
  79   79  #endif
  80      -        NULL
       80 +            NULL
       81 +        }
  81   82  };
  82   83  
  83   84  int
  84   85  _init(void)
  85   86  {
  86   87          return (mod_install(&modlinkage));
  87   88  }
  88   89  
  89   90  int
  90   91  _fini(void)
↓ open down ↓ 126 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX