fix-includes-20021202
authorJim Rees <rees@umich.edu>
Mon, 2 Dec 2002 13:39:46 +0000 (13:39 +0000)
committerJim Rees <rees@umich.edu>
Mon, 2 Dec 2002 13:39:46 +0000 (13:39 +0000)
Fix includes so the tree will build again

src/afs/afs_prototypes.h
src/viced/afsfileprocs.c
src/viced/viced_prototypes.h

index 1c5bc21..3caf48b 100644 (file)
@@ -897,7 +897,7 @@ extern afs_int32 RXSTATS_ExecuteRequest(struct rx_call *acall);
 
 
 
-#if defined(AFS_SUN5_ENV) || defined(AFS_LINUX20_ENV) || defined(AFS_AIX_ENV) || defined(AFS_DARWIN_ENV) || defined(AFS_FBSD_ENV)
+#if defined(AFS_SUN5_ENV) || defined(AFS_LINUX20_ENV) || defined(AFS_AIX_ENV) || defined(AFS_DARWIN_ENV) || defined(AFS_XBSD_ENV)
 #include "osi_prototypes.h"
 #endif
 
index 7865c96..1c5bcfb 100644 (file)
@@ -107,6 +107,7 @@ RCSID("$Header$");
 #include <signal.h>
 #include <afs/partition.h>
 #include "viced.h"
+#include "viced_prototypes.h"
 #include "host.h"
 #include <afs/audit.h>
 #include <afs/afsutil.h>
index c444754..a1858d4 100644 (file)
@@ -1 +1,31 @@
 extern int sendBufSize;
+struct client;
+
+extern afs_int32
+FetchData_RXStyle(Volume *volptr, 
+                 Vnode *targetptr, 
+                 register struct rx_call *Call,
+                 afs_int32 Pos,
+                 afs_int32 Len,
+                 afs_int32 Int64Mode,
+#if FS_STATS_DETAILED
+                 afs_int32 *a_bytesToFetchP,
+                 afs_int32 *a_bytesFetchedP
+#endif /* FS_STATS_DETAILED */
+                 );
+
+extern afs_int32
+StoreData_RXStyle(Volume *volptr,
+                 Vnode *targetptr,
+                 struct AFSFid *Fid,
+                 struct client *client,
+                 register struct rx_call *Call,
+                 afs_uint32 Pos,
+                 afs_uint32 Length,
+                 afs_uint32 FileLength,
+                 int sync,
+#if FS_STATS_DETAILED
+                 afs_int32 *a_bytesToStoreP,
+                 afs_int32 *a_bytesStoredP
+#endif /* FS_STATS_DETAILED */
+                 );