Print this page
remove support for non-ANSI compilation

*** 18,36 **** * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* * Copyright 2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _SYS_FS_UFS_TRANS_H #define _SYS_FS_UFS_TRANS_H - #pragma ident "%Z%%M% %I% %E% SMI" - #ifdef __cplusplus extern "C" { #endif #include <sys/types.h> --- 18,36 ---- * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* + * Copyright 2014 Garrett D'Amore <garrett@damore.org> + * * Copyright 2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _SYS_FS_UFS_TRANS_H #define _SYS_FS_UFS_TRANS_H #ifdef __cplusplus extern "C" { #endif #include <sys/types.h>
*** 479,489 **** /* * ufs trans function prototypes */ ! #if defined(_KERNEL) && defined(__STDC__) extern int ufs_trans_hlock(); extern void ufs_trans_onerror(); extern int ufs_trans_push_inode(struct ufsvfs *, delta_t, ino_t); extern int ufs_trans_push_buf(struct ufsvfs *, delta_t, daddr_t); --- 479,489 ---- /* * ufs trans function prototypes */ ! #if defined(_KERNEL) extern int ufs_trans_hlock(); extern void ufs_trans_onerror(); extern int ufs_trans_push_inode(struct ufsvfs *, delta_t, ino_t); extern int ufs_trans_push_buf(struct ufsvfs *, delta_t, daddr_t);
*** 536,546 **** void top_mataadd(struct ufsvfs *ufsvfsp, offset_t mof, off_t nb); void top_matadel(struct ufsvfs *ufsvfsp, offset_t mof, off_t nb); void top_mataclr(struct ufsvfs *ufsvfsp); ! #endif /* defined(_KERNEL) && defined(__STDC__) */ #ifdef __cplusplus } #endif --- 536,546 ---- void top_mataadd(struct ufsvfs *ufsvfsp, offset_t mof, off_t nb); void top_matadel(struct ufsvfs *ufsvfsp, offset_t mof, off_t nb); void top_mataclr(struct ufsvfs *ufsvfsp); ! #endif /* defined(_KERNEL) */ #ifdef __cplusplus } #endif