making upcall_marshal void

This commit is contained in:
unknown 2010-11-02 14:40:52 -04:00
parent a57e7a78f1
commit 7527c022a1
3 changed files with 3 additions and 4 deletions

View file

@ -116,7 +116,7 @@ write_downcall:
inbuf_len = UPCALL_BUF_SIZE;
inbuf = malloc(inbuf_len);
status = upcall_marshall(&upcall, inbuf, (uint32_t)inbuf_len, (uint32_t*)&outbuf_len);
upcall_marshall(&upcall, inbuf, (uint32_t)inbuf_len, (uint32_t*)&outbuf_len);
dprintf(2, "making a downcall: outbuf_len %ld\n\n", outbuf_len);
status = DeviceIoControl(pipe, IOCTL_NFS41_WRITE,

View file

@ -130,7 +130,7 @@ out:
return status;
}
int upcall_marshall(
void upcall_marshall(
IN nfs41_upcall *upcall,
OUT unsigned char *buffer,
IN uint32_t length,
@ -164,7 +164,6 @@ write_downcall:
}
out:
*length_out = total - length;
return status;
}
void upcall_cancel(

View file

@ -210,7 +210,7 @@ int upcall_parse(
int upcall_handle(
IN nfs41_upcall *upcall);
int upcall_marshall(
void upcall_marshall(
IN nfs41_upcall *upcall,
OUT unsigned char *buffer,
IN uint32_t length,