From: VMware, Inc <> Date: Thu, 27 Oct 2011 18:22:57 +0000 (-0700) Subject: Changes in shared code that don't affect open-vm-tools functionality. X-Git-Tag: 2011.10.26-514583~45 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b97cf771cdff9501d8869939bf1754813598610e;p=thirdparty%2Fopen-vm-tools.git Changes in shared code that don't affect open-vm-tools functionality. Signed-off-by: Marcelo Vanzin --- diff --git a/open-vm-tools/lib/include/iovector.h b/open-vm-tools/lib/include/iovector.h index e96d41962..134617f47 100644 --- a/open-vm-tools/lib/include/iovector.h +++ b/open-vm-tools/lib/include/iovector.h @@ -89,7 +89,7 @@ EXTERN void IOV_WriteIovToBuf(struct iovec* entries, uint8* bufOut, size_t bufSize); -EXTERN void IOV_WriteBufToIov(uint8* bufIn, +EXTERN void IOV_WriteBufToIov(const uint8* bufIn, size_t bufSize, struct iovec* entries, int numEntries); diff --git a/open-vm-tools/lib/misc/iovector.c b/open-vm-tools/lib/misc/iovector.c index 9920c6a55..f8e6623d3 100644 --- a/open-vm-tools/lib/misc/iovector.c +++ b/open-vm-tools/lib/misc/iovector.c @@ -581,7 +581,7 @@ IOV_Free(VMIOVec* iov) // IN */ void -IOV_WriteBufToIov(uint8* bufIn, // IN +IOV_WriteBufToIov(const uint8* bufIn, // IN size_t bufSize, // IN struct iovec* entries, // OUT int numEntries) // IN