Print this page
remove support for non-ANSI compilation

*** 17,35 **** * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _SYS_FS_UFS_FILIO_H #define _SYS_FS_UFS_FILIO_H - #pragma ident "%Z%%M% %I% %E% SMI" - #ifdef __cplusplus extern "C" { #endif /* --- 17,35 ---- * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* + * Copyright 2014 Garrett D'Amore <garrett@damore.org> + * * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _SYS_FS_UFS_FILIO_H #define _SYS_FS_UFS_FILIO_H #ifdef __cplusplus extern "C" { #endif /*
*** 86,96 **** #define FIOLOG_EULOCK 3 #define FIOLOG_EWLOCK 4 #define FIOLOG_ECLEAN 5 #define FIOLOG_ENOULOCK 6 ! #if defined(_KERNEL) && defined(__STDC__) extern int ufs_fiosatime(struct vnode *, struct timeval *, int, struct cred *); extern int ufs_fiosdio(struct vnode *, uint_t *, int flag, struct cred *); extern int ufs_fiogdio(struct vnode *, uint_t *, int flag, struct cred *); --- 86,96 ---- #define FIOLOG_EULOCK 3 #define FIOLOG_EWLOCK 4 #define FIOLOG_ECLEAN 5 #define FIOLOG_ENOULOCK 6 ! #if defined(_KERNEL) extern int ufs_fiosatime(struct vnode *, struct timeval *, int, struct cred *); extern int ufs_fiosdio(struct vnode *, uint_t *, int flag, struct cred *); extern int ufs_fiogdio(struct vnode *, uint_t *, int flag, struct cred *);
*** 102,112 **** extern int ufs_fiologdisable(vnode_t *, fiolog_t *, cred_t *, int); extern int ufs_fioislog(vnode_t *, uint32_t *, cred_t *, int); extern int ufs_fio_holey(vnode_t *, int, offset_t *); extern int ufs_mark_compressed(struct vnode *vp); ! #endif /* defined(_KERNEL) && defined(__STDC__) */ #ifdef __cplusplus } #endif --- 102,112 ---- extern int ufs_fiologdisable(vnode_t *, fiolog_t *, cred_t *, int); extern int ufs_fioislog(vnode_t *, uint32_t *, cred_t *, int); extern int ufs_fio_holey(vnode_t *, int, offset_t *); extern int ufs_mark_compressed(struct vnode *vp); ! #endif /* defined(_KERNEL) */ #ifdef __cplusplus } #endif