Print this page
remove support for non-ANSI compilation
@@ -18,19 +18,19 @@
* 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
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/vfs.h>
#include <sys/acl.h>
#ifdef __cplusplus
extern "C" {
@@ -277,11 +277,11 @@
#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__)
+#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,