coda-xfs-header-defines-fun-20050706
authorPascal Terjan <pterjan@mandriva.com>
Thu, 7 Jul 2005 03:32:39 +0000 (03:32 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 7 Jul 2005 03:32:39 +0000 (03:32 +0000)
make this better, we should never have been doing it as we were before

src/afs/sysincludes.h
src/rx/rx_kcommon.h

index 33c049d..587288c 100644 (file)
  */
 #ifndef _LINUX_CODA_FS_I
 #define _LINUX_CODA_FS_I
-#endif
+#define _CODA_HEADER_
 #define _CFS_HEADER_
 struct coda_inode_info {
 };
+#endif
+#ifndef _LINUX_XFS_FS_I
 #define _LINUX_XFS_FS_I
 struct xfs_inode_info {
 };
+#endif
 #include <asm/uaccess.h>
 #include <linux/list.h>
 #include <linux/dcache.h>
index 30b4908..4cc3296 100644 (file)
 #ifdef AFS_LINUX22_ENV
 #ifndef _LINUX_CODA_FS_I
 #define _LINUX_CODA_FS_I 1
-#endif
 #define _CODA_HEADER_ 1
 struct coda_inode_info {
 };
 #endif
+#endif
 #ifdef AFS_DARWIN_ENV
 #ifndef _MACH_ETAP_H_
 #define _MACH_ETAP_H_