projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Windows/DynamicLibrary.inc: Remove 'extern "C"' in ELM_Callback.
[oota-llvm.git]
/
lib
/
Support
/
Windows
/
DynamicLibrary.inc
diff --git
a/lib/Support/Windows/DynamicLibrary.inc
b/lib/Support/Windows/DynamicLibrary.inc
index 95d7ba1699f0838e206d0cc26cd1cf37596332eb..241f95d55a97ce774862933134af7403f9aace3f 100644
(file)
--- a/
lib/Support/Windows/DynamicLibrary.inc
+++ b/
lib/Support/Windows/DynamicLibrary.inc
@@
-41,7
+41,7
@@
using namespace sys;
static DenseSet<HMODULE> *OpenedHandles;
-
extern "C"
static BOOL CALLBACK
+static BOOL CALLBACK
ELM_Callback(WIN32_ELMCB_PCSTR ModuleName, ULONG_PTR ModuleBase,
ULONG ModuleSize, PVOID UserContext) {
OpenedHandles->insert((HMODULE)ModuleBase);