Print this page
remove support for non-ANSI compilation

*** 17,35 **** * fields enclosed by brackets "[]" replaced with your own identifying * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ #ifndef _SYS_FSTYP_H #define _SYS_FSTYP_H - #pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 11.6 */ - #ifdef __cplusplus extern "C" { #endif #ifndef FSTYPSZ --- 17,36 ---- * fields enclosed by brackets "[]" replaced with your own identifying * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ + /* + * Copyright 2014 Garrett D'Amore <garrett@damore.org> + */ /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ #ifndef _SYS_FSTYP_H #define _SYS_FSTYP_H #ifdef __cplusplus extern "C" { #endif #ifndef FSTYPSZ
*** 41,51 **** */ #define GETFSIND 1 /* translate fs identifier to fstype index */ #define GETFSTYP 2 /* translate fstype index to fs identifier */ #define GETNFSTYP 3 /* return the number of fstypes */ ! #if defined(__STDC__) && !defined(_KERNEL) int sysfs(int, ...); #endif #ifdef __cplusplus } --- 42,52 ---- */ #define GETFSIND 1 /* translate fs identifier to fstype index */ #define GETFSTYP 2 /* translate fstype index to fs identifier */ #define GETNFSTYP 3 /* return the number of fstypes */ ! #if !defined(_KERNEL) int sysfs(int, ...); #endif #ifdef __cplusplus }