Author: akhaldi
Date: Tue Feb 4 16:46:41 2014
New Revision: 61980
URL:
http://svn.reactos.org/svn/reactos?rev=61980&view=rev
Log:
[VGAMP]
* 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/initvga.c
trunk/reactos/win32ss/drivers/miniport/vga/vgamp.c
trunk/reactos/win32ss/drivers/miniport/vga/vgamp.h
trunk/reactos/win32ss/drivers/miniport/vga/vgavideo.h
Modified: trunk/reactos/win32ss/drivers/miniport/vga/initvga.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/drivers/miniport/v…
==============================================================================
--- trunk/reactos/win32ss/drivers/miniport/vga/initvga.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/drivers/miniport/vga/initvga.c [iso-8859-1] Tue Feb 4 16:46:41
2014
@@ -1,4 +1,6 @@
#include "vgamp.h"
+
+#include "vgavideo.h"
static VGA_REGISTERS Mode12Regs =
{
Modified: trunk/reactos/win32ss/drivers/miniport/vga/vgamp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/drivers/miniport/v…
==============================================================================
--- trunk/reactos/win32ss/drivers/miniport/vga/vgamp.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/drivers/miniport/vga/vgamp.c [iso-8859-1] Tue Feb 4 16:46:41
2014
@@ -6,6 +6,9 @@
// ------------------------------------------------------- Includes
#include "vgamp.h"
+
+#include <dderror.h>
+#include <devioctl.h>
// ------------------------------------------------------- Public Interface
Modified: trunk/reactos/win32ss/drivers/miniport/vga/vgamp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/drivers/miniport/v…
==============================================================================
--- trunk/reactos/win32ss/drivers/miniport/vga/vgamp.h [iso-8859-1] (original)
+++ trunk/reactos/win32ss/drivers/miniport/vga/vgamp.h [iso-8859-1] Tue Feb 4 16:46:41
2014
@@ -23,13 +23,9 @@
/* INCLUDES *******************************************************************/
-#include "ntdef.h"
-#include "dderror.h"
-#include "devioctl.h"
-#include "miniport.h"
-#include "ntddvdeo.h"
-#include "video.h"
-#include "vgavideo.h"
+#include <ntdef.h>
+#include <miniport.h>
+#include <video.h>
#define UNIMPLEMENTED \
VideoPortDebugPrint(Error, "WARNING: %s at %s:%d is
UNIMPLEMENTED!\n",__FUNCTION__,__FILE__,__LINE__);
Modified: trunk/reactos/win32ss/drivers/miniport/vga/vgavideo.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/drivers/miniport/v…
==============================================================================
--- trunk/reactos/win32ss/drivers/miniport/vga/vgavideo.h [iso-8859-1] (original)
+++ trunk/reactos/win32ss/drivers/miniport/vga/vgavideo.h [iso-8859-1] Tue Feb 4 16:46:41
2014
@@ -1,3 +1,4 @@
+#pragma once
#define VGA_NORMAL 0
#define VGA_AND 8