From: Jim Rees Date: Mon, 2 Dec 2002 13:39:46 +0000 (+0000) Subject: fix-includes-20021202 X-Git-Tag: openafs-devel-1_3_50~483 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=63b85f21f53bffd760b7b0ff73b52f7025282592;p=packages%2Fo%2Fopenafs.git fix-includes-20021202 Fix includes so the tree will build again --- diff --git a/src/afs/afs_prototypes.h b/src/afs/afs_prototypes.h index 1c5bc21bf..3caf48b9e 100644 --- a/src/afs/afs_prototypes.h +++ b/src/afs/afs_prototypes.h @@ -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 diff --git a/src/viced/afsfileprocs.c b/src/viced/afsfileprocs.c index 7865c96a3..1c5bcfb6d 100644 --- a/src/viced/afsfileprocs.c +++ b/src/viced/afsfileprocs.c @@ -107,6 +107,7 @@ RCSID("$Header$"); #include #include #include "viced.h" +#include "viced_prototypes.h" #include "host.h" #include #include diff --git a/src/viced/viced_prototypes.h b/src/viced/viced_prototypes.h index c44475478..a1858d4e4 100644 --- a/src/viced/viced_prototypes.h +++ b/src/viced/viced_prototypes.h @@ -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 */ + );