Kaydet (Commit) b98febde authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wduplicate-decl-specifier (extern "C" already in STDAPI)

Change-Id: I2f170c8ad2ef30f49062fdeee4bcdcf5baf552db
üst feea3810
...@@ -406,7 +406,7 @@ bool CClassFactory::IsLocked() ...@@ -406,7 +406,7 @@ bool CClassFactory::IsLocked()
} }
extern "C" STDAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, void** ppv) STDAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, void** ppv)
{ {
OutputDebugStringFormat( "DllGetClassObject.\n" ); OutputDebugStringFormat( "DllGetClassObject.\n" );
*ppv = 0; *ppv = 0;
...@@ -423,7 +423,7 @@ extern "C" STDAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, void** ppv) ...@@ -423,7 +423,7 @@ extern "C" STDAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, void** ppv)
} }
extern "C" STDAPI DllCanUnloadNow() STDAPI DllCanUnloadNow()
{ {
OutputDebugStringFormat( "DllCanUnloadNow.\n" ); OutputDebugStringFormat( "DllCanUnloadNow.\n" );
if (CClassFactory::IsLocked() || g_DllRefCnt > 0) if (CClassFactory::IsLocked() || g_DllRefCnt > 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment