Windows/DynamicLibrary.inc: Remove 'extern "C"' in ELM_Callback.
[oota-llvm.git] / lib / Support / Windows / DynamicLibrary.inc
index 95d7ba1699f0838e206d0cc26cd1cf37596332eb..241f95d55a97ce774862933134af7403f9aace3f 100644 (file)
@@ -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);