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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/pipemod.c
          +++ new/usr/src/uts/common/io/pipemod.c
↓ open down ↓ 20 lines elided ↑ open up ↑
  21   21   */
  22   22  /*
  23   23   * Copyright (c) 1997, by Sun Microsystems, Inc.
  24   24   * All rights reserved.
  25   25   */
  26   26  
  27   27  /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
  28   28  /*        All Rights Reserved   */
  29   29  
  30   30  
  31      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  32      -
  33   31  /*
  34   32   * This module switches the read and write flush bits for each
  35   33   * M_FLUSH control message it receives. It's intended usage is to
  36   34   * properly flush a STREAMS-based pipe.
  37   35   */
  38   36  #include <sys/types.h>
  39   37  #include <sys/param.h>
  40   38  #include <sys/errno.h>
  41   39  #include <sys/stream.h>
  42   40  #include <sys/stropts.h>
↓ open down ↓ 64 lines elided ↑ open up ↑
 107  105          "pipemod",
 108  106          &pipeinfo,
 109  107          D_NEW | D_MP
 110  108  };
 111  109  
 112  110  static struct modlstrmod modlstrmod = {
 113  111          &mod_strmodops, "pipe flushing module", &fsw
 114  112  };
 115  113  
 116  114  static struct modlinkage modlinkage = {
 117      -        MODREV_1, &modlstrmod, NULL
      115 +        MODREV_1, { &modlstrmod, NULL }
 118  116  };
 119  117  
 120  118  int
 121  119  _init(void)
 122  120  {
 123  121          return (mod_install(&modlinkage));
 124  122  }
 125  123  
 126  124  int
 127  125  _fini(void)
 128  126  {
 129  127          return (mod_remove(&modlinkage));
 130  128  }
 131  129  
 132  130  int
 133  131  _info(struct modinfo *modinfop)
 134  132  {
 135  133          return (mod_info(&modlinkage, modinfop));
 136  134  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX