This seems like an obvious fix.. am I correct?
# HG changeset patch
# User [EMAIL PROTECTED]
# Date Thu Apr  6 03:13:00 2006
# Node ID b6c9ff1458f0bda0cdacf1dffe52f51b91a680ee
# parent: 2d8f31e777276f31a480678db69ae0127fa9ae5a
Put the definition of AFS_USEBUFFERS before the first place it is used


--- a/src/afs/afs.h     Thu Mar 23 02:53:15 2006
+++ b/src/afs/afs.h     Thu Apr  6 03:13:00 2006
@@ -909,6 +909,13 @@
 #endif
 #endif
 
+/* Note: this should agree with the definition in kdump.c */
+#if     defined(AFS_OSF_ENV)
+#if     !defined(UKERNEL)
+#define AFS_USEBUFFERS  1
+#endif
+#endif
+
 struct buffer {
   afs_int32 fid;              /* is adc->index, the cache file number */
   afs_inode_t inode;          /* is adc->f.inode, the inode number of the cac\
@@ -1186,13 +1193,6 @@
 #endif
 
 
-/* Note: this should agree with the definition in kdump.c */
-#if     defined(AFS_OSF_ENV)
-#if     !defined(UKERNEL)
-#define AFS_USEBUFFERS  1
-#endif
-#endif
-
 #if !defined(UKERNEL) && !defined(HAVE_STRUCT_BUF)
 /* declare something so that prototypes don't flip out */
 /* appears struct buf stuff is only actually passed around as a pointer, 

Reply via email to