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 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>

@@ -479,11 +479,11 @@
 
 
 /*
  * ufs trans function prototypes
  */
-#if defined(_KERNEL) && defined(__STDC__)
+#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,11 +536,11 @@
 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__) */
+#endif  /* defined(_KERNEL) */
 
 #ifdef  __cplusplus
 }
 #endif