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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/pfmod.c
          +++ new/usr/src/uts/common/io/pfmod.c
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
  24   24   */
  25   25  
  26      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  27      -
  28   26  /*
  29   27   * STREAMS Packet Filter Module
  30   28   *
  31   29   * This module applies a filter to messages arriving on its read
  32   30   * queue, passing on messages that the filter accepts adn discarding
  33   31   * the others.  It supports ioctls for setting the filter.
  34   32   *
  35   33   * On the write side, the module simply passes everything through
  36   34   * unchanged.
  37   35   *
↓ open down ↓ 98 lines elided ↑ open up ↑
 136  134          "pfmod",
 137  135          &pf_info,
 138  136          D_MTQPAIR | D_MP
 139  137  };
 140  138  
 141  139  static struct modlstrmod modlstrmod = {
 142  140          &mod_strmodops, "streams packet filter module", &fsw
 143  141  };
 144  142  
 145  143  static struct modlinkage modlinkage = {
 146      -        MODREV_1, &modlstrmod, NULL
      144 +        MODREV_1, { &modlstrmod, NULL }
 147  145  };
 148  146  
 149  147  int
 150  148  _init(void)
 151  149  {
 152  150          return (mod_install(&modlinkage));
 153  151  }
 154  152  
 155  153  int
 156  154  _fini(void)
↓ open down ↓ 507 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX