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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/c2/audit_syscalls.c
          +++ new/usr/src/uts/common/c2/audit_syscalls.c
↓ open down ↓ 75 lines elided ↑ open up ↑
  76   76  #include <sys/modctl.h>
  77   77  
  78   78  /*
  79   79   * Module linkage information for the kernel.
  80   80   */
  81   81  static struct modlmisc modlmisc = {
  82   82          &mod_miscops, "Solaris Auditing (C2)"
  83   83  };
  84   84  
  85   85  static struct modlinkage modlinkage = {
  86      -        MODREV_1, (void *)&modlmisc, 0
       86 +        MODREV_1, { (void *)&modlmisc, NULL }
  87   87  };
  88   88  
  89   89  int
  90   90  _init()
  91   91  {
  92   92          return (mod_install(&modlinkage));
  93   93  }
  94   94  
  95   95  int
  96   96  _fini()
↓ open down ↓ 402 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX