#endif
/* Local Prototypes */
-int PrintDiagnostics(char *astring, afs_int32 acode);
-int GetVolumeInfo(afs_uint32 volid, afs_uint32 *server, afs_int32 *part,
+static int PrintDiagnostics(char *astring, afs_int32 acode);
+static int GetVolumeInfo(afs_uint32 volid, afs_uint32 *server, afs_int32 *part,
afs_int32 *voltype, struct nvldbentry *rentry);
struct tqElem {
/*
* Parse a server dotted address and return the address in network byte order
*/
-afs_uint32
+static afs_uint32
GetServerNoresolve(char *aname)
{
int b1, b2, b3, b4;
/*
* Parse a server name/address and return a non-loopback address in network byte order
*/
-afs_uint32
+static afs_uint32
GetServer(char *aname)
{
struct hostent *th;
return 0;
}
-int
+static int
IsPartValid(afs_int32 partId, afs_uint32 server, afs_int32 *code)
{
struct partList dummyPartList;
/*sends the contents of file associated with <fd> and <blksize> to Rx Stream
* associated with <call> */
-int
+static int
SendFile(usd_handle_t ufd, struct rx_call *call, long blksize)
{
char *buffer = (char *)0;
/* function invoked by UV_RestoreVolume, reads the data from rx_trx_stream and
* writes it out to the volume. */
-afs_int32
+static afs_int32
WriteData(struct rx_call *call, void *rock)
{
char *filename = (char *) rock;
/* Receive data from <call> stream into file associated
* with <fd> <blksize>
*/
-int
+static int
ReceiveFile(usd_handle_t ufd, struct rx_call *call, long blksize)
{
char *buffer = NULL;
return (error);
}
-afs_int32
+static afs_int32
DumpFunction(struct rx_call *call, void *rock)
{
char *filename = (char *)rock;
return 0;
}
-int
+static int
GetVolumeInfo(afs_uint32 volid, afs_uint32 *server, afs_int32 *part, afs_int32 *voltype,
struct nvldbentry *rentry)
{
return 0;
}
-int
+static int
PrintDiagnostics(char *astring, afs_int32 acode)
{
switch (acode) {