Print this page
fixup .text where possible
7127  remove -Wno-missing-braces from Makefile.uts

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/mac/mac_mod.c
          +++ new/usr/src/uts/common/io/mac/mac_mod.c
↓ open down ↓ 16 lines elided ↑ open up ↑
  17   17   * fields enclosed by brackets "[]" replaced with your own identifying
  18   18   * information: Portions Copyright [yyyy] [name of copyright owner]
  19   19   *
  20   20   * CDDL HEADER END
  21   21   */
  22   22  /*
  23   23   * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  24   24   * Use is subject to license terms.
  25   25   */
  26   26  
  27      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  28      -
  29   27  /*
  30   28   * MAC Services Module
  31   29   */
  32   30  
  33   31  #include <sys/types.h>
  34   32  #include <sys/conf.h>
  35   33  #include <sys/stat.h>
  36   34  #include <sys/stream.h>
  37   35  #include <sys/modctl.h>
  38   36  #include <sys/atomic.h>
↓ open down ↓ 1 lines elided ↑ open up ↑
  40   38  #include <sys/mac.h>
  41   39  #include <sys/mac_impl.h>
  42   40  
  43   41  static struct modlmisc          i_mac_modlmisc = {
  44   42          &mod_miscops,
  45   43          MAC_INFO
  46   44  };
  47   45  
  48   46  static struct modlinkage        i_mac_modlinkage = {
  49   47          MODREV_1,
  50      -        &i_mac_modlmisc,
  51      -        NULL
       48 +        {   &i_mac_modlmisc,
       49 +            NULL }
  52   50  };
  53   51  
  54   52  /*
  55   53   * Module initialization functions.
  56   54   */
  57   55  
  58   56  static void
  59   57  i_mac_mod_init(void)
  60   58  {
  61   59          mac_init();
↓ open down ↓ 59 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX