Print this page
remove support for non-ANSI compilation

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/swap.h
          +++ new/usr/src/uts/common/sys/swap.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>
  22   23   * Copyright (c) 1987, 2010, Oracle and/or its affiliates. All rights reserved.
  23   24   */
  24   25  
  25   26  /*      Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T     */
  26   27  /*        All Rights Reserved   */
  27   28  
  28   29  /*
  29   30   * University Copyright- Copyright (c) 1982, 1986, 1988
  30   31   * The Regents of the University of California
  31   32   * All Rights Reserved
↓ open down ↓ 73 lines elided ↑ open up ↑
 105  106  } swaptbl32_t;
 106  107  
 107  108  #endif  /* _SYSCALL32 */
 108  109  
 109  110  #if defined(_KERNEL)
 110  111  extern int swapctl(int, void *, int *);
 111  112  #if defined(_LP64) && defined(_SYSCALL32)
 112  113  extern int swapctl32(int, void *, int *);
 113  114  #endif /* _LP64 && _SYSCALL32 */
 114  115  #else /* !_KERNEL */
 115      -#if defined(__STDC__)
 116  116  extern int swapctl(int, void *);
 117      -#else
 118      -extern int swapctl();
 119      -#endif
 120  117  #endif /* _KERNEL */
 121  118  
 122  119  
 123  120  /* ste_flags values */
 124  121  
 125  122  #define ST_INDEL        0x01            /* Deletion of file is in progress. */
 126  123                                          /* Prevents others from deleting or */
 127  124                                          /* allocating from it */
 128  125  #define ST_DOINGDEL     0x02            /* Set during deletion of file */
 129  126                                          /* Clearing during deletion signals */
↓ open down ↓ 116 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX