summaryrefslogtreecommitdiff
path: root/src/strongname
diff options
context:
space:
mode:
authorJonghyun Park <parjong@gmail.com>2017-04-21 01:05:51 +0900
committerBruce Forstall <brucefo@microsoft.com>2017-04-20 09:05:51 -0700
commitc716068d1df2ed82e16b4d22a73397d753f8186f (patch)
tree848830240f1d626f7432e4f2f9c604e18bb48770 /src/strongname
parentfcc25714169626c3c4a8b0e0057443e0e5fa83ab (diff)
downloadcoreclr-c716068d1df2ed82e16b4d22a73397d753f8186f.tar.gz
coreclr-c716068d1df2ed82e16b4d22a73397d753f8186f.tar.bz2
coreclr-c716068d1df2ed82e16b4d22a73397d753f8186f.zip
[x86/Linux] Use CDECL as STDAPICALLTYPE (#10969)
* [x86/Linux] Use CDECL as STDAPICALLTYPE * Use system default calling convention for internal functions
Diffstat (limited to 'src/strongname')
-rw-r--r--src/strongname/api/strongnamecoreclr.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/strongname/api/strongnamecoreclr.cpp b/src/strongname/api/strongnamecoreclr.cpp
index b02cde3dd9..2b9b4b82cf 100644
--- a/src/strongname/api/strongnamecoreclr.cpp
+++ b/src/strongname/api/strongnamecoreclr.cpp
@@ -39,15 +39,15 @@ FunctionPointer ApiShim(LPCSTR szApiName)
// Shim APIs, passing off into the desktop VM
//
-IExecutionEngine * __stdcall SnIEE()
+IExecutionEngine* SnIEE()
{
- typedef IExecutionEngine * ( __stdcall *IEEFn_t)();
+ typedef IExecutionEngine* (* IEEFn_t)();
return ApiShim<IEEFn_t>("IEE")();
}
-STDAPI SnGetCorSystemDirectory(SString& pbuffer)
+HRESULT SnGetCorSystemDirectory(SString& pbuffer)
{
- typedef HRESULT (__stdcall *GetCorSystemDirectoryFn_t)(SString&);
+ typedef HRESULT (*GetCorSystemDirectoryFn_t)(SString&);
return ApiShim<GetCorSystemDirectoryFn_t>("GetCORSystemDirectory")(pbuffer);
}