https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9415f94c3a8d189dc2a18effe5d10b7a445f9bc1

commit 9415f94c3a8d189dc2a18effe5d10b7a445f9bc1
Author:     Serge Gautherie <[email protected]>
AuthorDate: Sun Feb 11 23:33:16 2018 +0100
Commit:     Mark Jansen <[email protected]>
CommitDate: Wed Jun 13 23:28:15 2018 +0200

    [DELAYIMP] Fix 2 Clang-Cl warnings about __pfnDliNotifyHook2Default and 
__pfnDliFailureHook2Default
    
    "warning: 'extern' variable has an initializer [-Wextern-initializer]"
    
    CORE-14306
---
 sdk/lib/delayimp/delayimp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sdk/lib/delayimp/delayimp.c b/sdk/lib/delayimp/delayimp.c
index 4ffcfd81d5..e3f97b085b 100644
--- a/sdk/lib/delayimp/delayimp.c
+++ b/sdk/lib/delayimp/delayimp.c
@@ -24,8 +24,8 @@ extern PfnDliHook __pfnDliNotifyHook2;
 extern PfnDliHook __pfnDliFailureHook2;
 
 /* The fallback symbols */
-extern PfnDliHook __pfnDliNotifyHook2Default = NULL;
-extern PfnDliHook __pfnDliFailureHook2Default = NULL;
+PfnDliHook __pfnDliNotifyHook2Default = NULL;
+PfnDliHook __pfnDliFailureHook2Default = NULL;
 
 /* Tell the linker to use the fallback symbols */
 #if defined (_M_IX86)

Reply via email to