Windows/DynamicLibrary.inc: Remove 'extern "C"' in ELM_Callback.

'extern "C" static' is not accepted by g++-4.7. Rather to tweak, I just removed 'extern "C"', since it doesn't affect the ABI.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218290 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2014-09-23 01:09:46 +00:00
parent c4ef4e47c2
commit 66e6cd27a3

View File

@ -41,7 +41,7 @@ using namespace sys;
static DenseSet<HMODULE> *OpenedHandles; static DenseSet<HMODULE> *OpenedHandles;
extern "C" static BOOL CALLBACK static BOOL CALLBACK
ELM_Callback(WIN32_ELMCB_PCSTR ModuleName, ULONG_PTR ModuleBase, ELM_Callback(WIN32_ELMCB_PCSTR ModuleName, ULONG_PTR ModuleBase,
ULONG ModuleSize, PVOID UserContext) { ULONG ModuleSize, PVOID UserContext) {
OpenedHandles->insert((HMODULE)ModuleBase); OpenedHandles->insert((HMODULE)ModuleBase);