diff options
author | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2015-08-18 11:19:28 +0000 |
---|---|---|
committer | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2015-08-18 11:19:28 +0000 |
commit | cd994bd96f9ba3e7a048a7bc2f439b262f2d327b (patch) | |
tree | 60b651cdd9cdefe4cdd073cd2a8eb4dd3b06a9cf /src/VBox/Runtime/testcase/tstRTDvm.cpp | |
parent | 9de98a6255f9ff9ecff15237622a4a28b56c31a7 (diff) | |
download | VirtualBox-svn-cd994bd96f9ba3e7a048a7bc2f439b262f2d327b.tar.gz |
More DECLCALLBACK fixes; retired RTMemAutoPtr.
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@57416 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Runtime/testcase/tstRTDvm.cpp')
-rw-r--r-- | src/VBox/Runtime/testcase/tstRTDvm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/VBox/Runtime/testcase/tstRTDvm.cpp b/src/VBox/Runtime/testcase/tstRTDvm.cpp index 2327e043ef4..4c3da442dea 100644 --- a/src/VBox/Runtime/testcase/tstRTDvm.cpp +++ b/src/VBox/Runtime/testcase/tstRTDvm.cpp @@ -58,7 +58,7 @@ typedef struct TSTRTDVMDISK -static int dvmDiskRead(void *pvUser, uint64_t off, void *pvBuf, size_t cbRead) +static DECLCALLBACK(int) dvmDiskRead(void *pvUser, uint64_t off, void *pvBuf, size_t cbRead) { PTSTRTDVMDISK pDisk = (PTSTRTDVMDISK)pvUser; @@ -67,7 +67,7 @@ static int dvmDiskRead(void *pvUser, uint64_t off, void *pvBuf, size_t cbRead) return RTDvmVolumeRead(pDisk->hVol, off, pvBuf, cbRead); } -static int dvmDiskWrite(void *pvUser, uint64_t off, const void *pvBuf, size_t cbWrite) +static DECLCALLBACK(int) dvmDiskWrite(void *pvUser, uint64_t off, const void *pvBuf, size_t cbWrite) { PTSTRTDVMDISK pDisk = (PTSTRTDVMDISK)pvUser; |