Print this page
remove support for non-ANSI compilation

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/statfs.h
          +++ new/usr/src/uts/common/sys/statfs.h
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13   *
  14   14   * When distributing Covered Code, include this CDDL HEADER in each
  15   15   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  16   16   * If applicable, add the following below this CDDL HEADER, with the
  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 + * Copyright 2014 Garrett D'Amore <garrett@damore.org>
       24 + *
  23   25   * Copyright 1996 Sun Microsystems, Inc.  All rights reserved.
  24   26   * Use is subject to license terms.
  25   27   */
  26   28  
  27   29  /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
  28   30  /*        All Rights Reserved   */
  29   31  
  30   32  #ifndef _SYS_STATFS_H
  31   33  #define _SYS_STATFS_H
  32   34  
  33      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  34      -
  35   35  #ifdef  __cplusplus
  36   36  extern "C" {
  37   37  #endif
  38   38  
  39   39  /*
  40   40   * Structure returned by statfs(2) and fstatfs(2).
  41   41   * This structure and associated system calls have been replaced
  42   42   * by statvfs(2) and fstatvfs(2) and will be removed from the system
  43   43   * in a near-future release.
  44   44   */
↓ open down ↓ 19 lines elided ↑ open up ↑
  64   64          int32_t f_blocks;
  65   65          int32_t f_bfree;
  66   66          ino32_t f_files;
  67   67          ino32_t f_ffree;
  68   68          char    f_fname[6];
  69   69          char    f_fpack[6];
  70   70  };
  71   71  
  72   72  #endif  /* _SYSCALL32 */
  73   73  
  74      -#if defined(__STDC__) && !defined(_KERNEL)
       74 +#if !defined(_KERNEL)
  75   75  int statfs(const char *, struct statfs *, int, int);
  76   76  int fstatfs(int, struct statfs *, int, int);
  77   77  #endif
  78   78  
  79   79  #ifdef  __cplusplus
  80   80  }
  81   81  #endif
  82   82  
  83   83  #endif  /* _SYS_STATFS_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX