From 5539e288a629612275c8719355557da5ce32c1b6 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 27 Sep 2004 20:33:27 +0000 Subject: [PATCH] Function return types cannot be const. --- dlls/oleaut32/tmarshal.c | 2 +- dlls/oleaut32/typelib.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/oleaut32/tmarshal.c b/dlls/oleaut32/tmarshal.c index 54a4eea9c2f..a70ea634379 100644 --- a/dlls/oleaut32/tmarshal.c +++ b/dlls/oleaut32/tmarshal.c @@ -405,7 +405,7 @@ static IRpcProxyBufferVtbl tmproxyvtable = { }; /* how much space do we use on stack in DWORD steps. */ -int const +int _argsize(DWORD vt) { switch (vt) { case VT_DATE: diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c index f907e680bde..eec67218cff 100644 --- a/dlls/oleaut32/typelib.c +++ b/dlls/oleaut32/typelib.c @@ -4472,7 +4472,7 @@ _invoke(FARPROC func,CALLCONV callconv, int nrargs, DWORD *args) { return res; } -extern int const _argsize(DWORD vt); +extern int _argsize(DWORD vt); /**************************************************************************** * Helper functions for Dispcall / Invoke, which copies one variant