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_FS_H
 #define _SYS_FS_CACHEFS_FS_H
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 #include <sys/vnode.h>
 #include <sys/vfs.h>
 #include <sys/types.h>
 #include <sys/types32.h>
 #include <sys/t_lock.h>

@@ -1105,11 +1105,11 @@
 } cachefs_debug_info_t;
 
 /*
  * cachefs function prototypes
  */
-#if defined(_KERNEL) && defined(__STDC__)
+#if defined(_KERNEL)
 extern int cachefs_getcookie(vnode_t *, struct fid *, struct vattr *,
                 cred_t *, uint32_t);
 cachefscache_t *cachefs_cache_create(void);
 void cachefs_cache_destroy(cachefscache_t *cachep);
 int cachefs_cache_activate_ro(cachefscache_t *cachep, vnode_t *cdvp);

@@ -1303,11 +1303,11 @@
 extern void *cachefs_kmem_alloc(size_t, int);
 extern void *cachefs_kmem_zalloc(size_t, int);
 extern void cachefs_kmem_free(void *, size_t);
 extern char *cachefs_strdup(char *);
 
-#endif /* defined (_KERNEL) && defined (__STDC__) */
+#endif /* defined (_KERNEL) */
 
 
 
 #define C_RL_MAXENTS    0x4000          /* Whatever */