Author: akhaldi
Date: Fri Feb 7 17:32:20 2014
New Revision: 62023
URL:
http://svn.reactos.org/svn/reactos?rev=62023&view=rev
Log:
[WIN32SS]
* Add header guards to the main headers.
CORE-7716
Modified:
trunk/reactos/win32ss/drivers/displays/framebuf/dd.c
trunk/reactos/win32ss/drivers/displays/framebuf/ddenable.c
trunk/reactos/win32ss/drivers/displays/framebuf_new/screen.c
trunk/reactos/win32ss/drivers/displays/vga/vgaddi.h
trunk/reactos/win32ss/drivers/font/bmfd/bmfd.h
trunk/reactos/win32ss/drivers/font/ftfd/ftfd.h
trunk/reactos/win32ss/drivers/miniport/vbe/vbemp.h
trunk/reactos/win32ss/drivers/miniport/vga_new/vga.h
trunk/reactos/win32ss/gdi/gdi32/include/precomp.h
trunk/reactos/win32ss/reactx/dxg/dxg_int.h
trunk/reactos/win32ss/user/user32/include/user32.h
Modified: trunk/reactos/win32ss/drivers/displays/framebuf/dd.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/drivers/displays/f…
==============================================================================
--- trunk/reactos/win32ss/drivers/displays/framebuf/dd.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/drivers/displays/framebuf/dd.c [iso-8859-1] Fri Feb 7 17:32:20
2014
@@ -21,7 +21,6 @@
/* Here we put in all 2d api for directdraw and redirect some of them to GDI api */
#include "framebuf.h"
-
DWORD CALLBACK
DdCanCreateSurface(LPDDHAL_CANCREATESURFACEDATA pccsd)
@@ -113,4 +112,3 @@
pcsd->ddRVal = DD_OK;
return DDHAL_DRIVER_HANDLED;
}
-
Modified: trunk/reactos/win32ss/drivers/displays/framebuf/ddenable.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/drivers/displays/f…
==============================================================================
--- trunk/reactos/win32ss/drivers/displays/framebuf/ddenable.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/drivers/displays/framebuf/ddenable.c [iso-8859-1] Fri Feb 7
17:32:20 2014
@@ -257,4 +257,3 @@
return TRUE;
}
-
Modified: trunk/reactos/win32ss/drivers/displays/framebuf_new/screen.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/drivers/displays/f…
==============================================================================
--- trunk/reactos/win32ss/drivers/displays/framebuf_new/screen.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/drivers/displays/framebuf_new/screen.c [iso-8859-1] Fri Feb 7
17:32:20 2014
@@ -6,6 +6,7 @@
* PROGRAMMERS: Copyright (c) 1992-1995 Microsoft Corporation
* ReactOS Portable Systems Group
*/
+
#include "driver.h"
#define SYSTM_LOGFONT
{16,7,0,0,700,0,0,0,ANSI_CHARSET,OUT_DEFAULT_PRECIS,CLIP_DEFAULT_PRECIS,DEFAULT_QUALITY,VARIABLE_PITCH
| FF_DONTCARE,L"System"}
Modified: trunk/reactos/win32ss/drivers/displays/vga/vgaddi.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/drivers/displays/v…
==============================================================================
--- trunk/reactos/win32ss/drivers/displays/vga/vgaddi.h [iso-8859-1] (original)
+++ trunk/reactos/win32ss/drivers/displays/vga/vgaddi.h [iso-8859-1] Fri Feb 7 17:32:20
2014
@@ -1,3 +1,6 @@
+#ifndef _VGADDI_PCH_
+#define _VGADDI_PCH_
+
#define _WINBASE_
#define _WINDOWS_H
#include <stdarg.h>
@@ -281,3 +284,5 @@
VOID FASTCALL
vgaWriteScan(int x, int y, int w, void *b);
+
+#endif /* _VGADDI_PCH_ */
Modified: trunk/reactos/win32ss/drivers/font/bmfd/bmfd.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/drivers/font/bmfd/…
==============================================================================
--- trunk/reactos/win32ss/drivers/font/bmfd/bmfd.h [iso-8859-1] (original)
+++ trunk/reactos/win32ss/drivers/font/bmfd/bmfd.h [iso-8859-1] Fri Feb 7 17:32:20 2014
@@ -4,6 +4,9 @@
* PURPOSE: GDI font driver for bitmap fonts
* PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)reactos.org)
*/
+
+#ifndef _BMFD_PCH_
+#define _BMFD_PCH_
#include <stdarg.h>
#include <windef.h>
@@ -364,3 +367,4 @@
BmfdDestroyFont(
IN FONTOBJ *pfo);
+#endif /* _BMFD_PCH_ */
Modified: trunk/reactos/win32ss/drivers/font/ftfd/ftfd.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/drivers/font/ftfd/…
==============================================================================
--- trunk/reactos/win32ss/drivers/font/ftfd/ftfd.h [iso-8859-1] (original)
+++ trunk/reactos/win32ss/drivers/font/ftfd/ftfd.h [iso-8859-1] Fri Feb 7 17:32:20 2014
@@ -4,6 +4,9 @@
* PURPOSE: GDI font driver for bitmap fonts
* PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)reactos.org)
*/
+
+#ifndef _FTFD_PCH_
+#define _FTFD_PCH_
#include <stdarg.h>
#include <windef.h>
@@ -148,3 +151,4 @@
PVOID pv,
ULONG cjSize);
+#endif /* _FTFD_PCH_ */
Modified: trunk/reactos/win32ss/drivers/miniport/vbe/vbemp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/drivers/miniport/v…
==============================================================================
--- trunk/reactos/win32ss/drivers/miniport/vbe/vbemp.h [iso-8859-1] (original)
+++ trunk/reactos/win32ss/drivers/miniport/vbe/vbemp.h [iso-8859-1] Fri Feb 7 17:32:20
2014
@@ -18,6 +18,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifndef _VBEMP_PCH_
+#define _VBEMP_PCH_
+
/* INCLUDES *******************************************************************/
#include <ntdef.h>
@@ -300,3 +303,5 @@
PVBE_DEVICE_EXTENSION DeviceExtension,
PVIDEO_CLUT ColorLookUpTable,
PSTATUS_BLOCK StatusBlock);
+
+#endif /* _VBEMP_PCH_ */
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] Fri Feb 7 17:32:20
2014
@@ -6,6 +6,9 @@
* PROGRAMMERS: Copyright (c) 1992 Microsoft Corporation
* ReactOS Portable Systems Group
*/
+
+#ifndef _VGA_NEW_PCH_
+#define _VGA_NEW_PCH_
#include <ntdef.h>
#include <dderror.h>
@@ -446,3 +449,5 @@
#define VESA_MAGIC ('V' + ('E' << 8) + ('S' << 16) +
('A' << 24))
#include "vbe.h"
+
+#endif /* _VGA_NEW_PCH_ */
Modified: trunk/reactos/win32ss/gdi/gdi32/include/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/gdi32/include/…
==============================================================================
--- trunk/reactos/win32ss/gdi/gdi32/include/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/win32ss/gdi/gdi32/include/precomp.h [iso-8859-1] Fri Feb 7 17:32:20
2014
@@ -5,6 +5,9 @@
* PURPOSE: User-Mode Win32 GDI Library Header
* PROGRAMMER: Alex Ionescu (alex(a)relsoft.net)
*/
+
+#ifndef _GDI32_PCH_
+#define _GDI32_PCH_
/* INCLUDES ******************************************************************/
@@ -43,4 +46,4 @@
/* Deprecated NTGDI calls which shouldn't exist */
#include <ntgdibad.h>
-/* EOF */
+#endif /* _GDI32_PCH_ */
Modified: trunk/reactos/win32ss/reactx/dxg/dxg_int.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/reactx/dxg/dxg_int…
==============================================================================
--- trunk/reactos/win32ss/reactx/dxg/dxg_int.h [iso-8859-1] (original)
+++ trunk/reactos/win32ss/reactx/dxg/dxg_int.h [iso-8859-1] Fri Feb 7 17:32:20 2014
@@ -1,3 +1,6 @@
+#ifndef _DXG_PCH_
+#define _DXG_PCH_
+
#include <ntifs.h>
/* Win32 Headers */
@@ -102,3 +105,5 @@
#define drvDxEngUnlockDC gpEngFuncs[DXENG_INDEX_DxEngUnlockDC]
#define drvDxEngUnlockHdev gpEngFuncs[DXENG_INDEX_DxEngUnlockHdev]
#define drvDxEngLockHdev gpEngFuncs[DXENG_INDEX_DxEngLockHdev]
+
+#endif /* _DXG_PCH_ */
Modified: trunk/reactos/win32ss/user/user32/include/user32.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/includ…
==============================================================================
--- trunk/reactos/win32ss/user/user32/include/user32.h [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/user32/include/user32.h [iso-8859-1] Fri Feb 7 17:32:20
2014
@@ -5,6 +5,9 @@
* PURPOSE: Win32 User Library
* PROGRAMMER: Alex Ionescu (alex(a)relsoft.net)
*/
+
+#ifndef _USER32_PCH_
+#define _USER32_PCH_
/* INCLUDES ******************************************************************/
@@ -54,3 +57,5 @@
/* User macros */
#include "user_x.h"
+
+#endif /* _USER32_PCH_ */