Print this page
remove support for non-ANSI compilation

*** 18,36 **** * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _SYS_FS_CACHEFS_DLOG_H #define _SYS_FS_CACHEFS_DLOG_H - #pragma ident "%Z%%M% %I% %E% SMI" - #include <sys/vfs.h> #include <sys/acl.h> #ifdef __cplusplus extern "C" { --- 18,36 ---- * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* + * Copyright 2014 Garrett D'Amore <garrett@damore.org> + * * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _SYS_FS_CACHEFS_DLOG_H #define _SYS_FS_CACHEFS_DLOG_H #include <sys/vfs.h> #include <sys/acl.h> #ifdef __cplusplus extern "C" {
*** 277,287 **** #define CFS_DLOG_ENTRY_MAXSIZE \ MAX(offsetof(struct cfs_dlog_entry, dl_trailer), \ offsetof(struct cfs_dlog_entry, dl_u.dl_setsecattr) + \ CFS_DLOG_SECATTR_MAXSIZE) ! #if defined(_KERNEL) && defined(__STDC__) int cachefs_dlog_setup(fscache_t *fscp, int createfile); void cachefs_dlog_teardown(fscache_t *fscp); int cachefs_dlog_commit(fscache_t *fscp, off_t offset, int error); int cachefs_dlog_cidmap(fscache_t *fscp); off_t cachefs_dlog_setattr(fscache_t *fscp, struct vattr *vap, int flags, --- 277,287 ---- #define CFS_DLOG_ENTRY_MAXSIZE \ MAX(offsetof(struct cfs_dlog_entry, dl_trailer), \ offsetof(struct cfs_dlog_entry, dl_u.dl_setsecattr) + \ CFS_DLOG_SECATTR_MAXSIZE) ! #if defined(_KERNEL) int cachefs_dlog_setup(fscache_t *fscp, int createfile); void cachefs_dlog_teardown(fscache_t *fscp); int cachefs_dlog_commit(fscache_t *fscp, off_t offset, int error); int cachefs_dlog_cidmap(fscache_t *fscp); off_t cachefs_dlog_setattr(fscache_t *fscp, struct vattr *vap, int flags,