[DELAYIMP] Fix 2 Clang-Cl warnings about __pfnDliNotifyHook2Default and __pfnDliFailu...
authorSerge Gautherie <reactos-git_serge_171003@gautherie.fr>
Sun, 11 Feb 2018 22:33:16 +0000 (23:33 +0100)
committerMark Jansen <mark.jansen@reactos.org>
Wed, 13 Jun 2018 21:28:15 +0000 (23:28 +0200)
"warning: 'extern' variable has an initializer [-Wextern-initializer]"

CORE-14306

sdk/lib/delayimp/delayimp.c

index 4ffcfd8..e3f97b0 100644 (file)
@@ -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)