From: Serge Gautherie <32623169+SergeGautherie@users.noreply.github.com> Date: Tue, 14 Jan 2020 17:54:17 +0000 (+0100) Subject: [SYSDM] general.c: Make 2 global variables 'static' (#2060) X-Git-Tag: 0.4.14-RC~752 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=8f726184539ffc21c1baeb402101d54f5a815b27 [SYSDM] general.c: Make 2 global variables 'static' (#2060) And 1 'const' too. This allows reducing confusion about scope/use. --- diff --git a/dll/cpl/sysdm/general.c b/dll/cpl/sysdm/general.c index 9c76df6ae83..68436639e19 100644 --- a/dll/cpl/sysdm/general.c +++ b/dll/cpl/sysdm/general.c @@ -28,8 +28,8 @@ typedef struct _IMGINFO INT iBits; } IMGINFO, *PIMGINFO; -PIMGINFO pImgInfo = NULL; -BLENDFUNCTION BlendFunc = {AC_SRC_OVER, 0, 255, AC_SRC_ALPHA}; +static PIMGINFO pImgInfo; +static const BLENDFUNCTION BlendFunc = {AC_SRC_OVER, 0, 255, AC_SRC_ALPHA}; VOID ShowLastWin32Error(HWND hWndOwner) {