https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9415f94c3a8d189dc2a18e...
commit 9415f94c3a8d189dc2a18effe5d10b7a445f9bc1 Author: Serge Gautherie reactos-git_serge_171003@gautherie.fr AuthorDate: Sun Feb 11 23:33:16 2018 +0100 Commit: Mark Jansen mark.jansen@reactos.org 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)