Author: akhaldi
Date: Tue Feb 4 17:01:57 2014
New Revision: 61981
URL:
http://svn.reactos.org/svn/reactos?rev=61981&view=rev
Log:
[VGA]
* Remove one time inclusions from the main header and put them back where they belong.
* Improve header inclusions.
CORE-7716
Modified:
trunk/reactos/win32ss/drivers/miniport/vga_new/cmdcnst.h
trunk/reactos/win32ss/drivers/miniport/vga_new/modeset.c
trunk/reactos/win32ss/drivers/miniport/vga_new/vbe.h
trunk/reactos/win32ss/drivers/miniport/vga_new/vga.c
trunk/reactos/win32ss/drivers/miniport/vga_new/vga.h
Modified: trunk/reactos/win32ss/drivers/miniport/vga_new/cmdcnst.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/drivers/miniport/v…
==============================================================================
--- trunk/reactos/win32ss/drivers/miniport/vga_new/cmdcnst.h [iso-8859-1] (original)
+++ trunk/reactos/win32ss/drivers/miniport/vga_new/cmdcnst.h [iso-8859-1] Tue Feb 4
17:01:57 2014
@@ -6,6 +6,7 @@
* PROGRAMMERS: Copyright (c) 1992 Microsoft Corporation
*/
+#pragma once
//--------------------------------------------------------------------------
// Definition of the set/clear mode command language.
Modified: trunk/reactos/win32ss/drivers/miniport/vga_new/modeset.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/drivers/miniport/v…
==============================================================================
--- trunk/reactos/win32ss/drivers/miniport/vga_new/modeset.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/drivers/miniport/vga_new/modeset.c [iso-8859-1] Tue Feb 4
17:01:57 2014
@@ -896,4 +896,3 @@
VgaInterpretCmdStream(HwDeviceExtension, DisableA000Color);
}
-
Modified: trunk/reactos/win32ss/drivers/miniport/vga_new/vbe.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/drivers/miniport/v…
==============================================================================
--- trunk/reactos/win32ss/drivers/miniport/vga_new/vbe.h [iso-8859-1] (original)
+++ trunk/reactos/win32ss/drivers/miniport/vga_new/vbe.h [iso-8859-1] Tue Feb 4 17:01:57
2014
@@ -6,6 +6,7 @@
* PROGRAMMERS: ReactOS Portable Systems Group
*/
+#pragma once
#define LOWORD(l) ((USHORT)((ULONG_PTR)(l)))
#define HIWORD(l) ((USHORT)(((ULONG_PTR)(l)>>16)&0xFFFF))
Modified: trunk/reactos/win32ss/drivers/miniport/vga_new/vga.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/drivers/miniport/v…
==============================================================================
--- trunk/reactos/win32ss/drivers/miniport/vga_new/vga.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/drivers/miniport/vga_new/vga.c [iso-8859-1] Tue Feb 4 17:01:57
2014
@@ -10,6 +10,8 @@
//---------------------------------------------------------------------------
#include "vga.h"
+
+#include <devioctl.h>
//---------------------------------------------------------------------------
//
Modified: trunk/reactos/win32ss/drivers/miniport/vga_new/vga.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/drivers/miniport/v…
==============================================================================
--- trunk/reactos/win32ss/drivers/miniport/vga_new/vga.h [iso-8859-1] (original)
+++ trunk/reactos/win32ss/drivers/miniport/vga_new/vga.h [iso-8859-1] Tue Feb 4 17:01:57
2014
@@ -7,12 +7,11 @@
* ReactOS Portable Systems Group
*/
-#include "ntdef.h"
-#include "dderror.h"
-#include "devioctl.h"
-#include "miniport.h"
-#include "ntddvdeo.h"
-#include "video.h"
+#include <ntdef.h>
+#include <dderror.h>
+#include <miniport.h>
+#include <video.h>
+
#include "cmdcnst.h"
//