Print this page
remove support for non-ANSI compilation

*** 20,40 **** * CDDL HEADER END */ /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ - /* * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _SYS_STATVFS_H #define _SYS_STATVFS_H - #pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.10 */ - #include <sys/feature_tests.h> #include <sys/types.h> #ifdef __cplusplus extern "C" { --- 20,39 ---- * CDDL HEADER END */ /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ /* + * Copyright 2014 Garrett D'Amore <garrett@damore.org> + * * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _SYS_STATVFS_H #define _SYS_STATVFS_H #include <sys/feature_tests.h> #include <sys/types.h> #ifdef __cplusplus extern "C" {
*** 186,206 **** #define statvfs64 statvfs #define fstatvfs64 fstatvfs #endif #endif /* _LP64 && _LARGEFILE64_SOURCE */ - #if defined(__STDC__) int statvfs(const char *_RESTRICT_KYWD, statvfs_t *_RESTRICT_KYWD); int fstatvfs(int, statvfs_t *); /* transitional large file interface versions */ #if defined(_LARGEFILE64_SOURCE) && !((_FILE_OFFSET_BITS == 64) && \ !defined(__PRAGMA_REDEFINE_EXTNAME)) int statvfs64(const char *_RESTRICT_KYWD, statvfs64_t *_RESTRICT_KYWD); int fstatvfs64(int, statvfs64_t *); #endif /* _LARGEFILE64_SOURCE... */ - #endif /* defined(__STDC__) */ #endif /* !defined(_KERNEL) */ #ifdef __cplusplus } #endif --- 185,203 ----