Print this page
remove support for non-ANSI compilation

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/uio.h
          +++ new/usr/src/uts/common/sys/uio.h
↓ open down ↓ 11 lines elided ↑ open up ↑
  12   12   *
  13   13   * When distributing Covered Code, include this CDDL HEADER in each
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  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 + * Copyright 2014 Garrett D'Amore <garrett@damore.org>
       23 + *
  22   24   * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  23   25   * Use is subject to license terms.
  24   26   */
  25   27  
  26   28  /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
  27   29  /*        All Rights Reserved   */
  28   30  
  29   31  /*
  30   32   * University Copyright- Copyright (c) 1982, 1986, 1988
  31   33   * The Regents of the University of California
↓ open down ↓ 210 lines elided ↑ open up ↑
 242  244  void    uioskip(uio_t *, size_t);
 243  245  int     uiodup(uio_t *, uio_t *, iovec_t *, int);
 244  246  
 245  247  int     uioamove(void *, size_t, enum uio_rw, uioa_t *);
 246  248  int     uioainit(uio_t *, uioa_t *);
 247  249  int     uioafini(uio_t *, uioa_t *);
 248  250  extern  uioasync_t uioasync;
 249  251  
 250  252  #else   /* defined(_KERNEL) */
 251  253  
 252      -#if     defined(__STDC__)
 253      -
 254  254  extern ssize_t readv(int, const struct iovec *, int);
 255  255  extern ssize_t writev(int, const struct iovec *, int);
 256  256  
 257      -#else   /* defined(__STDC__) */
 258      -
 259      -extern ssize_t readv();
 260      -extern ssize_t writev();
 261      -
 262      -#endif  /* defined(__STDC__) */
 263      -
 264  257  #endif  /* defined(_KERNEL) */
 265  258  
 266  259  #ifdef  __cplusplus
 267  260  }
 268  261  #endif
 269  262  
 270  263  #endif  /* _SYS_UIO_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX