https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6e71e9424220975c9136c7455e759222b64ff0e5

commit 6e71e9424220975c9136c7455e759222b64ff0e5
Author:     Hervé Poussineau <hpous...@reactos.org>
AuthorDate: Sun Oct 13 21:29:45 2024 +0200
Commit:     Hervé Poussineau <hpous...@reactos.org>
CommitDate: Mon Oct 14 23:26:10 2024 +0200

    [WIN32SS:ENG] Make gpVgaGraphicsDevice variable static
---
 win32ss/gdi/eng/device.c | 2 +-
 win32ss/gdi/eng/device.h | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/win32ss/gdi/eng/device.c b/win32ss/gdi/eng/device.c
index d9f6b8a9465..299e75ad4f7 100644
--- a/win32ss/gdi/eng/device.c
+++ b/win32ss/gdi/eng/device.c
@@ -13,7 +13,7 @@
 DBG_DEFAULT_CHANNEL(EngDev);
 
 PGRAPHICS_DEVICE gpPrimaryGraphicsDevice;
-PGRAPHICS_DEVICE gpVgaGraphicsDevice;
+static PGRAPHICS_DEVICE gpVgaGraphicsDevice;
 
 static PGRAPHICS_DEVICE gpGraphicsDeviceFirst = NULL;
 static PGRAPHICS_DEVICE gpGraphicsDeviceLast = NULL;
diff --git a/win32ss/gdi/eng/device.h b/win32ss/gdi/eng/device.h
index a7d352c6bbe..7248598a8f0 100644
--- a/win32ss/gdi/eng/device.h
+++ b/win32ss/gdi/eng/device.h
@@ -9,7 +9,6 @@ PDEVOBJ_vRefreshModeList(
     PPDEVOBJ ppdev);
 
 extern PGRAPHICS_DEVICE gpPrimaryGraphicsDevice;
-extern PGRAPHICS_DEVICE gpVgaGraphicsDevice;
 
 VOID
 APIENTRY

Reply via email to