Author: akhaldi
Date: Thu Feb 6 11:18:34 2014
New Revision: 62006
URL:
http://svn.reactos.org/svn/reactos?rev=62006&view=rev
Log:
[DRIVERS]
* Add header guards to the main headers.
CORE-7716
Modified:
trunk/reactos/drivers/base/bootvid/precomp.h
trunk/reactos/drivers/base/kdcom/kddll.h
trunk/reactos/drivers/bus/acpi/cmbatt/cmbatt.h
trunk/reactos/drivers/bus/acpi/compbatt/compbatt.h
trunk/reactos/drivers/bus/isapnp/fdo.c
trunk/reactos/drivers/bus/isapnp/hardware.c
trunk/reactos/drivers/bus/isapnp/isapnp.c
trunk/reactos/drivers/bus/isapnp/isapnp.h
trunk/reactos/drivers/bus/isapnp/pdo.c
trunk/reactos/drivers/bus/pci/pci.h
trunk/reactos/drivers/bus/pcix/pci.h
trunk/reactos/drivers/bus/pcmcia/fdo.c
trunk/reactos/drivers/bus/pcmcia/pcmcia.h
trunk/reactos/drivers/bus/pcmcia/pdo.c
trunk/reactos/drivers/filesystems/cdfs/cleanup.c
trunk/reactos/drivers/filesystems/cdfs/close.c
trunk/reactos/drivers/filesystems/fastfat/fastio.c
trunk/reactos/drivers/filesystems/fastfat/fcb.c
trunk/reactos/drivers/filesystems/fastfat/misc.c
trunk/reactos/drivers/filesystems/fastfat/rw.c
trunk/reactos/drivers/filesystems/fs_rec/fs_rec.h
trunk/reactos/drivers/filesystems/mup/mup.c
trunk/reactos/drivers/hid/hidclass/precomp.h
trunk/reactos/drivers/input/kbdclass/kbdclass.h
trunk/reactos/drivers/input/mouclass/mouclass.h
trunk/reactos/drivers/input/sermouse/sermouse.h
trunk/reactos/drivers/ksfilter/ks/precomp.h
trunk/reactos/drivers/network/dd/ne2000/include/ne2000.h
trunk/reactos/drivers/network/dd/ne2000/ne2000/8390.c
trunk/reactos/drivers/network/dd/ne2000/ne2000/main.c
trunk/reactos/drivers/network/dd/pcnet/pcnet.c
trunk/reactos/drivers/network/dd/pcnet/pcnet.h
trunk/reactos/drivers/network/dd/pcnet/requests.c
trunk/reactos/drivers/network/dd/rtl8139/info.c
trunk/reactos/drivers/network/dd/rtl8139/interrupt.c
trunk/reactos/drivers/network/dd/rtl8139/ndis.c
trunk/reactos/drivers/network/dd/rtl8139/nic.h
trunk/reactos/drivers/network/ndisuio/createclose.c
trunk/reactos/drivers/network/ndisuio/protocol.c
trunk/reactos/drivers/network/ndisuio/readwrite.c
trunk/reactos/drivers/network/tcpip/include/checksum.h
trunk/reactos/drivers/network/tcpip/include/interface.h
trunk/reactos/drivers/network/tcpip/include/precomp.h
trunk/reactos/drivers/network/tcpip/include/transmit.h
trunk/reactos/drivers/network/tcpip/tcpip/iinfo.c
trunk/reactos/drivers/network/tcpip/tcpip/info.c
trunk/reactos/drivers/network/tcpip/tcpip/lock.c
trunk/reactos/drivers/network/tcpip/tcpip/mocklock.c
trunk/reactos/drivers/network/tcpip/tcpip/mockwait.c
trunk/reactos/drivers/network/tcpip/tcpip/ninfo.c
trunk/reactos/drivers/network/tcpip/tcpip/proto.c
trunk/reactos/drivers/network/tcpip/tcpip/wait.c
trunk/reactos/drivers/network/tdi/cte/string.c
trunk/reactos/drivers/network/tdi/misc/main.c
trunk/reactos/drivers/network/tdi/tdi/handler.c
trunk/reactos/drivers/network/tdi/tdi/obsolete.c
trunk/reactos/drivers/network/tdi/tdi/stubs.c
trunk/reactos/drivers/sac/driver/sacdrv.h
trunk/reactos/drivers/serial/serenum/serenum.h
trunk/reactos/drivers/serial/serial/serial.h
trunk/reactos/drivers/setup/blue/blue.h
trunk/reactos/drivers/storage/class/cdrom/precomp.h
trunk/reactos/drivers/storage/class/disk_new/disk.h
trunk/reactos/drivers/storage/class/include/class2.h
trunk/reactos/drivers/storage/classpnp/classp.h
trunk/reactos/drivers/storage/fdc/fdc/fdc.h
trunk/reactos/drivers/storage/floppy/precomp.h
trunk/reactos/drivers/storage/ide/pciidex/pciidex.h
trunk/reactos/drivers/storage/scsiport/precomp.h
trunk/reactos/drivers/usb/usbhub/usbhub.h
trunk/reactos/drivers/usb/usbstor/descriptor.c
trunk/reactos/drivers/usb/usbstor/misc.c
trunk/reactos/drivers/usb/usbstor/usbstor.c
trunk/reactos/drivers/usb/usbstor/usbstor.h
trunk/reactos/drivers/wdm/audio/filters/kmixer/kmixer.h
trunk/reactos/drivers/wdm/audio/legacy/wdmaud/deviface.c
trunk/reactos/drivers/wdm/audio/legacy/wdmaud/mmixer.c
trunk/reactos/drivers/wdm/audio/legacy/wdmaud/wdmaud.h
trunk/reactos/drivers/wdm/audio/sysaudio/deviface.c
trunk/reactos/drivers/wdm/audio/sysaudio/sysaudio.h
Modified: trunk/reactos/drivers/base/bootvid/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/base/bootvid/preco…
==============================================================================
--- trunk/reactos/drivers/base/bootvid/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/base/bootvid/precomp.h [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -1,3 +1,6 @@
+#ifndef _BOOTVID_PCH_
+#define _BOOTVID_PCH_
+
#include <wdm.h>
#include <drivers/bootvid/bootvid.h>
@@ -41,3 +44,5 @@
extern ULONG_PTR VgaRegisterBase;
extern ULONG_PTR VgaBase;
extern UCHAR FontData[256 * BOOTCHAR_HEIGHT];
+
+#endif /* _BOOTVID_PCH_ */
Modified: trunk/reactos/drivers/base/kdcom/kddll.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/base/kdcom/kddll.h…
==============================================================================
--- trunk/reactos/drivers/base/kdcom/kddll.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/base/kdcom/kddll.h [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -5,6 +5,9 @@
* PURPOSE: Base definitions for the kernel debugger.
* PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)ewactos.org)
*/
+
+#ifndef _KDDLL_H_
+#define _KDDLL_H_
#define NOEXTAPI
#include <ntifs.h>
@@ -61,4 +64,4 @@
NTAPI
KdpPollBreakIn(VOID);
-/* EOF */
+#endif /* _KDDLL_H_ */
Modified: trunk/reactos/drivers/bus/acpi/cmbatt/cmbatt.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/cmbatt/cm…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/cmbatt/cmbatt.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/cmbatt/cmbatt.h [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -5,6 +5,9 @@
* PURPOSE: Main Header File
* PROGRAMMERS: ReactOS Portable Systems Group
*/
+
+#ifndef _CMBATT_PCH_
+#define _CMBATT_PCH_
#include <wdm.h>
#include <batclass.h>
@@ -276,4 +279,4 @@
extern PDEVICE_OBJECT AcAdapterPdo;
extern ULONG CmBattDebug;
-/* EOF */
+#endif /* _CMBATT_PCH_ */
Modified: trunk/reactos/drivers/bus/acpi/compbatt/compbatt.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/compbatt/…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/compbatt/compbatt.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/compbatt/compbatt.h [iso-8859-1] Thu Feb 6 11:18:34
2014
@@ -5,6 +5,9 @@
* PURPOSE: Main Header File
* PROGRAMMERS: ReactOS Portable Systems Group
*/
+
+#ifndef _COMPBATT_PCH_
+#define _COMPBATT_PCH_
#include <wdm.h>
#include <batclass.h>
@@ -149,7 +152,7 @@
IN ULONG OutputBufferLength,
IN BOOLEAN InternalDeviceIoControl
);
-
+
extern ULONG CompBattDebug;
-/* EOF */
+#endif /* _COMPBATT_PCH_ */
Modified: trunk/reactos/drivers/bus/isapnp/fdo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/isapnp/fdo.c?r…
==============================================================================
--- trunk/reactos/drivers/bus/isapnp/fdo.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/isapnp/fdo.c [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -4,6 +4,7 @@
* PURPOSE: FDO-specific code
* PROGRAMMERS: Cameron Gutman (cameron.gutman(a)reactos.org)
*/
+
#include <isapnp.h>
#define NDEBUG
Modified: trunk/reactos/drivers/bus/isapnp/hardware.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/isapnp/hardwar…
==============================================================================
--- trunk/reactos/drivers/bus/isapnp/hardware.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/isapnp/hardware.c [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -4,6 +4,7 @@
* PURPOSE: Hardware support code
* PROGRAMMERS: Cameron Gutman (cameron.gutman(a)reactos.org)
*/
+
#include <isapnp.h>
#include <isapnphw.h>
Modified: trunk/reactos/drivers/bus/isapnp/isapnp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/isapnp/isapnp.…
==============================================================================
--- trunk/reactos/drivers/bus/isapnp/isapnp.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/isapnp/isapnp.c [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -4,6 +4,7 @@
* PURPOSE: Driver entry
* PROGRAMMERS: Cameron Gutman (cameron.gutman(a)reactos.org)
*/
+
#include <isapnp.h>
#define NDEBUG
Modified: trunk/reactos/drivers/bus/isapnp/isapnp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/isapnp/isapnp.…
==============================================================================
--- trunk/reactos/drivers/bus/isapnp/isapnp.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/isapnp/isapnp.h [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -1,3 +1,5 @@
+#ifndef _ISAPNP_PCH_
+#define _ISAPNP_PCH_
#include <wdm.h>
@@ -95,3 +97,5 @@
#ifdef __cplusplus
}
#endif
+
+#endif /* _ISAPNP_PCH_ */
Modified: trunk/reactos/drivers/bus/isapnp/pdo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/isapnp/pdo.c?r…
==============================================================================
--- trunk/reactos/drivers/bus/isapnp/pdo.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/isapnp/pdo.c [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -4,6 +4,7 @@
* PURPOSE: PDO-specific code
* PROGRAMMERS: Cameron Gutman (cameron.gutman(a)reactos.org)
*/
+
#include <isapnp.h>
#define NDEBUG
Modified: trunk/reactos/drivers/bus/pci/pci.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/pci/pci.h?rev=…
==============================================================================
--- trunk/reactos/drivers/bus/pci/pci.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/pci/pci.h [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -1,3 +1,6 @@
+#ifndef _PCI_PCH_
+#define _PCI_PCH_
+
#include <ntifs.h>
#define TAG_PCI '0ICP'
@@ -174,3 +177,5 @@
DriverEntry(
IN PDRIVER_OBJECT DriverObject,
IN PUNICODE_STRING RegistryPath);
+
+#endif /* _PCI_PCH_ */
Modified: trunk/reactos/drivers/bus/pcix/pci.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/pcix/pci.h?rev…
==============================================================================
--- trunk/reactos/drivers/bus/pcix/pci.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/pcix/pci.h [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -5,6 +5,9 @@
* PURPOSE: Main Header File
* PROGRAMMERS: ReactOS Portable Systems Group
*/
+
+#ifndef _PCIX_PCH_
+#define _PCIX_PCH_
#include <ntifs.h>
#include <wdmguid.h>
@@ -1822,4 +1825,4 @@
/* Exported by NTOS, should this go in the NDK? */
extern NTSYSAPI BOOLEAN InitSafeBootMode;
-/* EOF */
+#endif /* _PCIX_PCH_ */
Modified: trunk/reactos/drivers/bus/pcmcia/fdo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/pcmcia/fdo.c?r…
==============================================================================
--- trunk/reactos/drivers/bus/pcmcia/fdo.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/pcmcia/fdo.c [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -24,4 +24,3 @@
return STATUS_NOT_SUPPORTED;
}
-
Modified: trunk/reactos/drivers/bus/pcmcia/pcmcia.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/pcmcia/pcmcia.…
==============================================================================
--- trunk/reactos/drivers/bus/pcmcia/pcmcia.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/pcmcia/pcmcia.h [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -1,3 +1,6 @@
+#ifndef _PCMCIA_PCH_
+#define _PCMCIA_PCH_
+
#include <wdm.h>
typedef enum
@@ -48,3 +51,4 @@
PcmciaFdoPlugPlay(PPCMCIA_FDO_EXTENSION FdoExt,
PIRP Irp);
+#endif /* _PCMCIA_PCH_ */
Modified: trunk/reactos/drivers/bus/pcmcia/pdo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/pcmcia/pdo.c?r…
==============================================================================
--- trunk/reactos/drivers/bus/pcmcia/pdo.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/pcmcia/pdo.c [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -35,4 +35,3 @@
return STATUS_SUCCESS;
}
-
Modified: trunk/reactos/drivers/filesystems/cdfs/cleanup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/cdfs/c…
==============================================================================
--- trunk/reactos/drivers/filesystems/cdfs/cleanup.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/cdfs/cleanup.c [iso-8859-1] Thu Feb 6 11:18:34
2014
@@ -96,4 +96,3 @@
}
/* EOF */
-
Modified: trunk/reactos/drivers/filesystems/cdfs/close.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/cdfs/c…
==============================================================================
--- trunk/reactos/drivers/filesystems/cdfs/close.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/cdfs/close.c [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -108,4 +108,3 @@
}
/* EOF */
-
Modified: trunk/reactos/drivers/filesystems/fastfat/fastio.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/fastfa…
==============================================================================
--- trunk/reactos/drivers/filesystems/fastfat/fastio.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/fastfat/fastio.c [iso-8859-1] Thu Feb 6 11:18:34
2014
@@ -739,4 +739,3 @@
FastIoDispatch->AcquireForCcFlush = VfatAcquireForCcFlush;
FastIoDispatch->ReleaseForCcFlush = VfatReleaseForCcFlush;
}
-
Modified: trunk/reactos/drivers/filesystems/fastfat/fcb.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/fastfa…
==============================================================================
--- trunk/reactos/drivers/filesystems/fastfat/fcb.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/fastfat/fcb.c [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -841,4 +841,3 @@
return STATUS_SUCCESS;
}
-
Modified: trunk/reactos/drivers/filesystems/fastfat/misc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/fastfa…
==============================================================================
--- trunk/reactos/drivers/filesystems/fastfat/misc.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/fastfat/misc.c [iso-8859-1] Thu Feb 6 11:18:34
2014
@@ -300,4 +300,3 @@
return STATUS_SUCCESS;
}
-
Modified: trunk/reactos/drivers/filesystems/fastfat/rw.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/fastfa…
==============================================================================
--- trunk/reactos/drivers/filesystems/fastfat/rw.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/fastfat/rw.c [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -1059,4 +1059,3 @@
DPRINT("%x\n", Status);
return Status;
}
-
Modified: trunk/reactos/drivers/filesystems/fs_rec/fs_rec.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/fs_rec…
==============================================================================
--- trunk/reactos/drivers/filesystems/fs_rec/fs_rec.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/fs_rec/fs_rec.h [iso-8859-1] Thu Feb 6 11:18:34
2014
@@ -6,6 +6,9 @@
* PROGRAMMER: Alex Ionescu (alex.ionescu(a)reactos.org)
* Eric Kohl
*/
+
+#ifndef _FS_REC_H
+#define _FS_REC_H
#include <ntifs.h>
@@ -255,3 +258,5 @@
IN PDEVICE_OBJECT DeviceObject,
IN PWCHAR DriverServiceName
);
+
+#endif /* _FS_REC_H */
Modified: trunk/reactos/drivers/filesystems/mup/mup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/mup/mu…
==============================================================================
--- trunk/reactos/drivers/filesystems/mup/mup.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/mup/mup.c [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -30,9 +30,6 @@
#define NDEBUG
#include <debug.h>
-
-/* GLOBALS *****************************************************************/
-
/* FUNCTIONS ****************************************************************/
@@ -100,4 +97,3 @@
return STATUS_SUCCESS;
}
-
Modified: trunk/reactos/drivers/hid/hidclass/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/hid/hidclass/preco…
==============================================================================
--- trunk/reactos/drivers/hid/hidclass/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/hid/hidclass/precomp.h [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -1,4 +1,5 @@
-#pragma once
+#ifndef _HIDCLASS_PCH_
+#define _HIDCLASS_PCH_
#define _HIDPI_NO_FUNCTION_MACROS_
#include <wdm.h>
@@ -212,4 +213,4 @@
PHIDP_DEVICE_DESC DeviceDescription,
ULONG CollectionNumber);
-/* eof */
+#endif /* _HIDCLASS_PCH_ */
Modified: trunk/reactos/drivers/input/kbdclass/kbdclass.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/input/kbdclass/kbd…
==============================================================================
--- trunk/reactos/drivers/input/kbdclass/kbdclass.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/input/kbdclass/kbdclass.h [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -1,3 +1,6 @@
+#ifndef _KBDCLASS_PCH_
+#define _KBDCLASS_PCH_
+
#include <ntifs.h>
#include <ntddkbd.h>
@@ -76,3 +79,5 @@
IN ULONG Flags,
IN PCUNICODE_STRING SourceString,
OUT PUNICODE_STRING DestinationString);
+
+#endif /* _KBDCLASS_PCH_ */
Modified: trunk/reactos/drivers/input/mouclass/mouclass.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/input/mouclass/mou…
==============================================================================
--- trunk/reactos/drivers/input/mouclass/mouclass.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/input/mouclass/mouclass.h [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -1,3 +1,6 @@
+#ifndef _MOUCLASS_PCH_
+#define _MOUCLASS_PCH_
+
#include <ntifs.h>
#include <ntddmou.h>
@@ -76,3 +79,5 @@
IN ULONG Flags,
IN PCUNICODE_STRING SourceString,
OUT PUNICODE_STRING DestinationString);
+
+#endif /* _MOUCLASS_PCH_ */
Modified: trunk/reactos/drivers/input/sermouse/sermouse.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/input/sermouse/ser…
==============================================================================
--- trunk/reactos/drivers/input/sermouse/sermouse.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/input/sermouse/sermouse.h [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -1,3 +1,6 @@
+#ifndef _SERMOUSE_PCH_
+#define _SERMOUSE_PCH_
+
#include <ntddk.h>
#include <ntddser.h>
#include <kbdmou.h>
@@ -110,3 +113,5 @@
VOID NTAPI
SermouseDeviceWorker(
PVOID Context);
+
+#endif /* _SERMOUSE_PCH_ */
Modified: trunk/reactos/drivers/ksfilter/ks/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/ksfilter/ks/precom…
==============================================================================
--- trunk/reactos/drivers/ksfilter/ks/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/ksfilter/ks/precomp.h [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -1,3 +1,6 @@
+#ifndef _KS_PCH_
+#define _KS_PCH_
+
#define _KSDDK_
#include <ntddk.h>
@@ -45,3 +48,5 @@
DEFINE_KSPROPERTY_ITEM_STREAM_MASTERCLOCK(PropMasterClock, PropMasterClock),\
DEFINE_KSPROPERTY_ITEM_STREAM_PIPE_ID(PropPipeId, PropPipeId)\
}
+
+#endif /* _KS_PCH_ */
Modified: trunk/reactos/drivers/network/dd/ne2000/include/ne2000.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/dd/ne2000/…
==============================================================================
--- trunk/reactos/drivers/network/dd/ne2000/include/ne2000.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/dd/ne2000/include/ne2000.h [iso-8859-1] Thu Feb 6
11:18:34 2014
@@ -5,12 +5,16 @@
* PURPOSE: NE2000 driver definitions
*/
+#ifndef _NE2000_PCH_
+#define _NE2000_PCH_
+
#define NDIS_MINIPORT_DRIVER 1
#define NDIS_LEGACY_MINIPORT 1
#define NDIS51_MINIPORT 1
#include <ndis.h>
#include <8390.h>
-#include <debug.h>
+
+#include "debug.h"
/* Define NOCARD to test NDIS without a card */
//#define NOCARD
@@ -244,4 +248,4 @@
VOID NICTransmit(
PNIC_ADAPTER Adapter);
-/* EOF */
+#endif /* _NE2000_PCH_ */
Modified: trunk/reactos/drivers/network/dd/ne2000/ne2000/8390.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/dd/ne2000/…
==============================================================================
--- trunk/reactos/drivers/network/dd/ne2000/ne2000/8390.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/dd/ne2000/ne2000/8390.c [iso-8859-1] Thu Feb 6 11:18:34
2014
@@ -7,6 +7,7 @@
* REVISIONS:
* CSH 27/08-2000 Created
*/
+
#include <ne2000.h>
/* Null-terminated array of ports to probe. This is "semi-risky" (Don Becker).
*/
Modified: trunk/reactos/drivers/network/dd/ne2000/ne2000/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/dd/ne2000/…
==============================================================================
--- trunk/reactos/drivers/network/dd/ne2000/ne2000/main.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/dd/ne2000/ne2000/main.c [iso-8859-1] Thu Feb 6 11:18:34
2014
@@ -7,6 +7,7 @@
* REVISIONS:
* CSH 27/08-2000 Created
*/
+
#include <ne2000.h>
NTSTATUS
@@ -1055,4 +1056,5 @@
}
#endif
+
/* EOF */
Modified: trunk/reactos/drivers/network/dd/pcnet/pcnet.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/dd/pcnet/p…
==============================================================================
--- trunk/reactos/drivers/network/dd/pcnet/pcnet.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/dd/pcnet/pcnet.c [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -1365,4 +1365,3 @@
return NDIS_STATUS_SUCCESS;
}
-
Modified: trunk/reactos/drivers/network/dd/pcnet/pcnet.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/dd/pcnet/p…
==============================================================================
--- trunk/reactos/drivers/network/dd/pcnet/pcnet.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/dd/pcnet/pcnet.h [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -25,7 +25,11 @@
* - this assumes 32-bit physical addresses
*/
+#ifndef _PCNET_PCH_
+#define _PCNET_PCH_
+
#include <ndis.h>
+
#include "pci.h"
#include "pcnethw.h"
@@ -159,3 +163,5 @@
/* memory pool tag */
#define PCNET_TAG 'tNcP'
+
+#endif /* _PCNET_PCH_ */
Modified: trunk/reactos/drivers/network/dd/pcnet/requests.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/dd/pcnet/r…
==============================================================================
--- trunk/reactos/drivers/network/dd/pcnet/requests.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/dd/pcnet/requests.c [iso-8859-1] Thu Feb 6 11:18:34
2014
@@ -510,4 +510,3 @@
return Status;
}
-
Modified: trunk/reactos/drivers/network/dd/rtl8139/info.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/dd/rtl8139…
==============================================================================
--- trunk/reactos/drivers/network/dd/rtl8139/info.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/dd/rtl8139/info.c [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -391,4 +391,3 @@
return status;
}
-
Modified: trunk/reactos/drivers/network/dd/rtl8139/interrupt.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/dd/rtl8139…
==============================================================================
--- trunk/reactos/drivers/network/dd/rtl8139/interrupt.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/dd/rtl8139/interrupt.c [iso-8859-1] Thu Feb 6 11:18:34
2014
@@ -215,4 +215,3 @@
NdisDprReleaseSpinLock(&adapter->Lock);
}
-
Modified: trunk/reactos/drivers/network/dd/rtl8139/ndis.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/dd/rtl8139…
==============================================================================
--- trunk/reactos/drivers/network/dd/rtl8139/ndis.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/dd/rtl8139/ndis.c [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -524,4 +524,3 @@
return NDIS_STATUS_SUCCESS;
}
-
Modified: trunk/reactos/drivers/network/dd/rtl8139/nic.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/dd/rtl8139…
==============================================================================
--- trunk/reactos/drivers/network/dd/rtl8139/nic.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/dd/rtl8139/nic.h [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -5,8 +5,12 @@
* PURPOSE: RTL8139 driver definitions
*/
+#ifndef _RTL8139_PCH_
+#define _RTL8139_PCH_
+
#include <ndis.h>
-#include <rtlhw.h>
+
+#include "rtlhw.h"
#define ADAPTER_TAG 'Altr'
#define RESOURCE_LIST_TAG 'Rltr'
@@ -202,4 +206,4 @@
IN NDIS_HANDLE MiniportAdapterContext
);
-/* EOF */
+#endif /* _RTL8139_PCH_ */
Modified: trunk/reactos/drivers/network/ndisuio/createclose.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndisuio/cr…
==============================================================================
--- trunk/reactos/drivers/network/ndisuio/createclose.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndisuio/createclose.c [iso-8859-1] Thu Feb 6 11:18:34
2014
@@ -66,4 +66,4 @@
/* Return success */
return STATUS_SUCCESS;
-}
+}
Modified: trunk/reactos/drivers/network/ndisuio/protocol.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndisuio/pr…
==============================================================================
--- trunk/reactos/drivers/network/ndisuio/protocol.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndisuio/protocol.c [iso-8859-1] Thu Feb 6 11:18:34
2014
@@ -493,4 +493,3 @@
* invalidating file handles pointer to this adapter for us */
*Status = UnbindAdapterByContext(ProtocolBindingContext);
}
-
Modified: trunk/reactos/drivers/network/ndisuio/readwrite.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndisuio/re…
==============================================================================
--- trunk/reactos/drivers/network/ndisuio/readwrite.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndisuio/readwrite.c [iso-8859-1] Thu Feb 6 11:18:34
2014
@@ -206,4 +206,4 @@
IoCompleteRequest(Irp, IO_NETWORK_INCREMENT);
return Status;
-}
+}
Modified: trunk/reactos/drivers/network/tcpip/include/checksum.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tcpip/incl…
==============================================================================
--- trunk/reactos/drivers/network/tcpip/include/checksum.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tcpip/include/checksum.h [iso-8859-1] Thu Feb 6
11:18:34 2014
@@ -6,7 +6,6 @@
*/
#pragma once
-
ULONG ChecksumFold(
ULONG Sum);
Modified: trunk/reactos/drivers/network/tcpip/include/interface.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tcpip/incl…
==============================================================================
--- trunk/reactos/drivers/network/tcpip/include/interface.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tcpip/include/interface.h [iso-8859-1] Thu Feb 6
11:18:34 2014
@@ -1,6 +1,4 @@
#pragma once
-
-#include <ip.h>
#define IFENT_SOFTWARE_LOOPBACK 24 /* This is an SNMP constant from rfc1213 */
@@ -15,4 +13,4 @@
NTSTATUS GetInterfaceConnectionStatus( PIP_INTERFACE Interface,
PULONG OperStatus );
PIP_INTERFACE FindOnLinkInterface(PIP_ADDRESS Address);
-PIP_INTERFACE GetDefaultInterface(VOID);
+PIP_INTERFACE GetDefaultInterface(VOID);
Modified: trunk/reactos/drivers/network/tcpip/include/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tcpip/incl…
==============================================================================
--- trunk/reactos/drivers/network/tcpip/include/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tcpip/include/precomp.h [iso-8859-1] Thu Feb 6 11:18:34
2014
@@ -1,3 +1,6 @@
+#ifndef _TCPIP_PCH_
+#define _TCPIP_PCH_
+
#include <tags.h>
#include <tcpip.h>
#include <loopback.h>
@@ -13,3 +16,5 @@
#include <lock.h>
#include <interface.h>
#include <chew/chew.h>
+
+#endif /* _TCPIP_PCH_ */
Modified: trunk/reactos/drivers/network/tcpip/include/transmit.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tcpip/incl…
==============================================================================
--- trunk/reactos/drivers/network/tcpip/include/transmit.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tcpip/include/transmit.h [iso-8859-1] Thu Feb 6
11:18:34 2014
@@ -31,4 +31,5 @@
NTSTATUS IPSendDatagram(PIP_PACKET IPPacket, PNEIGHBOR_CACHE_ENTRY NCE);
+
/* EOF */
Modified: trunk/reactos/drivers/network/tcpip/tcpip/iinfo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tcpip/tcpi…
==============================================================================
--- trunk/reactos/drivers/network/tcpip/tcpip/iinfo.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tcpip/tcpip/iinfo.c [iso-8859-1] Thu Feb 6 11:18:34
2014
@@ -175,4 +175,3 @@
/* This removes all of them */
RemoveEntityByContext(Interface);
}
-
Modified: trunk/reactos/drivers/network/tcpip/tcpip/info.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tcpip/tcpi…
==============================================================================
--- trunk/reactos/drivers/network/tcpip/tcpip/info.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tcpip/tcpip/info.c [iso-8859-1] Thu Feb 6 11:18:34
2014
@@ -9,6 +9,7 @@
*/
#include "precomp.h"
+
#include <debug.h>
VOID AddEntity(ULONG EntityType, PVOID Context, ULONG Flags)
Modified: trunk/reactos/drivers/network/tcpip/tcpip/lock.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tcpip/tcpi…
==============================================================================
--- trunk/reactos/drivers/network/tcpip/tcpip/lock.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tcpip/tcpip/lock.c [iso-8859-1] Thu Feb 6 11:18:34
2014
@@ -6,6 +6,7 @@
* PROGRAMMERS: Art Yerkes
* REVISIONS:
*/
+
#include "precomp.h"
KIRQL TcpipGetCurrentIrql() { return KeGetCurrentIrql(); }
@@ -43,4 +44,3 @@
VOID TcpipReleaseFastMutex( PFAST_MUTEX Mutex ) {
ExReleaseFastMutex( Mutex );
}
-
Modified: trunk/reactos/drivers/network/tcpip/tcpip/mocklock.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tcpip/tcpi…
==============================================================================
--- trunk/reactos/drivers/network/tcpip/tcpip/mocklock.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tcpip/tcpip/mocklock.c [iso-8859-1] Thu Feb 6 11:18:34
2014
@@ -6,6 +6,7 @@
* PROGRAMMERS: Art Yerkes
* REVISIONS:
*/
+
#include "precomp.h"
KIRQL KernelIrql = PASSIVE_LEVEL;
@@ -44,4 +45,3 @@
VOID TcpipReleaseFastMutex( PFAST_MUTEX Mutex ) {
}
-
Modified: trunk/reactos/drivers/network/tcpip/tcpip/mockwait.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tcpip/tcpi…
==============================================================================
--- trunk/reactos/drivers/network/tcpip/tcpip/mockwait.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tcpip/tcpip/mockwait.c [iso-8859-1] Thu Feb 6 11:18:34
2014
@@ -6,6 +6,7 @@
* PROGRAMMERS: Art Yerkes
* REVISIONS:
*/
+
#include "precomp.h"
NTSTATUS TcpipWaitForSingleObject( PVOID Object,
Modified: trunk/reactos/drivers/network/tcpip/tcpip/ninfo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tcpip/tcpi…
==============================================================================
--- trunk/reactos/drivers/network/tcpip/tcpip/ninfo.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tcpip/tcpip/ninfo.c [iso-8859-1] Thu Feb 6 11:18:34
2014
@@ -12,8 +12,6 @@
#define IP_ROUTE_TYPE_ADD 3
#define IP_ROUTE_TYPE_DEL 2
-
-
/* Get IPRouteEntry s for each of the routes in the system */
TDI_STATUS InfoTdiQueryGetRouteTable( PIP_INTERFACE IF, PNDIS_BUFFER Buffer, PUINT
BufferSize ) {
@@ -214,4 +212,3 @@
return TDI_INVALID_REQUEST;
}
-
Modified: trunk/reactos/drivers/network/tcpip/tcpip/proto.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tcpip/tcpi…
==============================================================================
--- trunk/reactos/drivers/network/tcpip/tcpip/proto.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tcpip/tcpip/proto.c [iso-8859-1] Thu Feb 6 11:18:34
2014
@@ -37,4 +37,3 @@
return STATUS_SUCCESS;
}
-
Modified: trunk/reactos/drivers/network/tcpip/tcpip/wait.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tcpip/tcpi…
==============================================================================
--- trunk/reactos/drivers/network/tcpip/tcpip/wait.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tcpip/tcpip/wait.c [iso-8859-1] Thu Feb 6 11:18:34
2014
@@ -6,6 +6,7 @@
* PROGRAMMERS: Art Yerkes
* REVISIONS:
*/
+
#include "precomp.h"
NTSTATUS TcpipWaitForSingleObject( PVOID Object,
Modified: trunk/reactos/drivers/network/tdi/cte/string.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tdi/cte/st…
==============================================================================
--- trunk/reactos/drivers/network/tdi/cte/string.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tdi/cte/string.c [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -1,4 +1,3 @@
-
#include "precomp.h"
/*
Modified: trunk/reactos/drivers/network/tdi/misc/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tdi/misc/m…
==============================================================================
--- trunk/reactos/drivers/network/tdi/misc/main.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tdi/misc/main.c [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -2,6 +2,7 @@
* DESCRIPTION: Entry point for TDI.SYS
* (c) Captain Obvious
*/
+
#include "precomp.h"
extern LONG CteTimeIncrement;
@@ -17,6 +18,4 @@
return STATUS_SUCCESS;
}
-
-
/* EOF */
Modified: trunk/reactos/drivers/network/tdi/tdi/handler.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tdi/tdi/ha…
==============================================================================
--- trunk/reactos/drivers/network/tdi/tdi/handler.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tdi/tdi/handler.c [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -1,6 +1,7 @@
/*
* DESCRIPTION: Default TDI event handlers.
*/
+
#include "precomp.h"
/*
Modified: trunk/reactos/drivers/network/tdi/tdi/obsolete.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tdi/tdi/ob…
==============================================================================
--- trunk/reactos/drivers/network/tdi/tdi/obsolete.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tdi/tdi/obsolete.c [iso-8859-1] Thu Feb 6 11:18:34
2014
@@ -1,4 +1,3 @@
-
#include "precomp.h"
/*
Modified: trunk/reactos/drivers/network/tdi/tdi/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tdi/tdi/st…
==============================================================================
--- trunk/reactos/drivers/network/tdi/tdi/stubs.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tdi/tdi/stubs.c [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -1,4 +1,3 @@
-
#include "precomp.h"
/*
Modified: trunk/reactos/drivers/sac/driver/sacdrv.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/sac/driver/sacdrv.…
==============================================================================
--- trunk/reactos/drivers/sac/driver/sacdrv.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/sac/driver/sacdrv.h [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -5,6 +5,9 @@
* PURPOSE: Driver for the Server Administration Console (SAC) for EMS
* PROGRAMMERS: ReactOS Portable Systems Group
*/
+
+#ifndef _SACDRV_H_
+#define _SACDRV_H_
/* INCLUDES *******************************************************************/
@@ -1511,3 +1514,5 @@
#define VT_ANSI_HVP_CURSOR_CHAR L'f'
#define VT_ANSI_CUP_CURSOR_CHAR L'H'
#define VT_ANSI_SCROLL_CHAR L'r'
+
+#endif /* _SACDRV_H_ */
Modified: trunk/reactos/drivers/serial/serenum/serenum.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/serial/serenum/ser…
==============================================================================
--- trunk/reactos/drivers/serial/serenum/serenum.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/serial/serenum/serenum.h [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -6,6 +6,9 @@
*
* PROGRAMMERS: Hervé Poussineau (hpoussin(a)reactos.org)
*/
+
+#ifndef _SERENUM_PCH_
+#define _SERENUM_PCH_
#include <ntifs.h>
#include <ntddser.h>
@@ -124,3 +127,5 @@
DriverEntry(
IN PDRIVER_OBJECT DriverObject,
IN PUNICODE_STRING RegPath);
+
+#endif /* _SERENUM_PCH_ */
Modified: trunk/reactos/drivers/serial/serial/serial.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/serial/serial/seri…
==============================================================================
--- trunk/reactos/drivers/serial/serial/serial.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/serial/serial/serial.h [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -6,6 +6,9 @@
*
* PROGRAMMERS: Hervé Poussineau (hpoussin(a)reactos.org)
*/
+
+#ifndef _SERIAL_PCH_
+#define _SERIAL_PCH_
#include <ntddk.h>
#include <ntddser.h>
@@ -297,3 +300,5 @@
DRIVER_DISPATCH SerialRead;
DRIVER_DISPATCH SerialWrite;
+
+#endif /* _SERIAL_PCH_ */
Modified: trunk/reactos/drivers/setup/blue/blue.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/setup/blue/blue.h?…
==============================================================================
--- trunk/reactos/drivers/setup/blue/blue.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/setup/blue/blue.h [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -5,6 +5,9 @@
* PURPOSE: Loading specific fonts into VGA
* PROGRAMMERS: Aleksey Bragin (aleksey(a)reactos.org)
*/
+
+#ifndef _BLUE_PCH_
+#define _BLUE_PCH_
#include <wdm.h>
@@ -129,3 +132,5 @@
void ScrLoadFontTable(UINT32 CodePage);
NTSTATUS ExtractFont(UINT32 CodePage, PUCHAR FontBitField);
+
+#endif /* _BLUE_PCH_ */
Modified: trunk/reactos/drivers/storage/class/cdrom/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/class/cdro…
==============================================================================
--- trunk/reactos/drivers/storage/class/cdrom/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/class/cdrom/precomp.h [iso-8859-1] Thu Feb 6 11:18:34
2014
@@ -1,2 +1,7 @@
+#ifndef _CDROM_PCH_
+#define _CDROM_PCH_
+
#include <ntdef.h>
#include <ntstatus.h>
+
+#endif /* _CDROM_PCH_ */
Modified: trunk/reactos/drivers/storage/class/disk_new/disk.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/class/disk…
==============================================================================
--- trunk/reactos/drivers/storage/class/disk_new/disk.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/class/disk_new/disk.h [iso-8859-1] Thu Feb 6 11:18:34
2014
@@ -19,6 +19,9 @@
Revision History:
--*/
+
+#ifndef _DISK_NEW_H_
+#define _DISK_NEW_H_
#undef _WIN32_WINNT
#define _WIN32_WINNT 0x0501
@@ -975,3 +978,5 @@
#define DiskHashGuid(Guid) (((PULONG) &Guid)[0] ^ ((PULONG) &Guid)[0] ^ ((PULONG)
&Guid)[0] ^ ((PULONG) &Guid)[0])
+
+#endif /* _DISK_NEW_H_ */
Modified: trunk/reactos/drivers/storage/class/include/class2.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/class/incl…
==============================================================================
--- trunk/reactos/drivers/storage/class/include/class2.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/class/include/class2.h [iso-8859-1] Thu Feb 6 11:18:34
2014
@@ -8,8 +8,8 @@
#pragma once
-#include "ntddscsi.h"
-#include "srb.h"
+#include <ntddscsi.h>
+#include <srb.h>
#define MAXIMUM_RETRIES 15
#define RETRY_WAIT 2000000 /* 200 ms in units of 100 ns */
Modified: trunk/reactos/drivers/storage/classpnp/classp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/classpnp/c…
==============================================================================
--- trunk/reactos/drivers/storage/classpnp/classp.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/classpnp/classp.h [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -24,6 +24,9 @@
Revision History:
--*/
+
+#ifndef _CLASSPNP_PCH_
+#define _CLASSPNP_PCH_
#include <ntddk.h>
#include <classpnp.h>
@@ -865,3 +868,5 @@
VOID NTAPI DestroyAllTransferPackets(PDEVICE_OBJECT Fdo);
#include "debug.h"
+
+#endif /* _CLASSPNP_PCH_ */
Modified: trunk/reactos/drivers/storage/fdc/fdc/fdc.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/fdc/fdc/fd…
==============================================================================
--- trunk/reactos/drivers/storage/fdc/fdc/fdc.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/fdc/fdc/fdc.h [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -5,6 +5,9 @@
* PURPOSE: Common header file
* PROGRAMMERS: Eric Kohl
*/
+
+#ifndef _FDC_PCH_
+#define _FDC_PCH_
#include <ntifs.h>
@@ -121,3 +124,5 @@
FdcPdoPnp(
IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp);
+
+#endif /* _FDC_PCH_ */
Modified: trunk/reactos/drivers/storage/floppy/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/floppy/pre…
==============================================================================
--- trunk/reactos/drivers/storage/floppy/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/floppy/precomp.h [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -1,5 +1,10 @@
+#ifndef _FLOPPY_PCH_
+#define _FLOPPY_PCH_
+
#include <wdm.h>
#include "floppy.h"
#include "csqrtns.h"
#include "hardware.h"
+
+#endif /* _FLOPPY_PCH_ */
Modified: trunk/reactos/drivers/storage/ide/pciidex/pciidex.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/ide/pciide…
==============================================================================
--- trunk/reactos/drivers/storage/ide/pciidex/pciidex.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/ide/pciidex/pciidex.h [iso-8859-1] Thu Feb 6 11:18:34
2014
@@ -1,3 +1,6 @@
+#ifndef _PCIIDEX_PCH_
+#define _PCIIDEX_PCH_
+
#include <ntifs.h>
#include <ide.h>
@@ -79,3 +82,5 @@
PciIdeXPdoPnpDispatch(
IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp);
+
+#endif /* _PCIIDEX_PCH_ */
Modified: trunk/reactos/drivers/storage/scsiport/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/scsiport/p…
==============================================================================
--- trunk/reactos/drivers/storage/scsiport/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/scsiport/precomp.h [iso-8859-1] Thu Feb 6 11:18:34
2014
@@ -1 +1,6 @@
+#ifndef _SCSIPORT_PCH_
+#define _SCSIPORT_PCH_
+
#include <wdm.h>
+
+#endif /* _SCSIPORT_PCH_ */
Modified: trunk/reactos/drivers/usb/usbhub/usbhub.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbhub/usbhub.…
==============================================================================
--- trunk/reactos/drivers/usb/usbhub/usbhub.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbhub/usbhub.h [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -1,4 +1,5 @@
-#pragma once
+#ifndef _USBHUB_H_
+#define _USBHUB_H_
#include <wdm.h>
#include <hubbusif.h>
@@ -185,3 +186,5 @@
USBHUB_ParentFDOStartDevice(
IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp);
+
+#endif /* _USBHUB_H_ */
Modified: trunk/reactos/drivers/usb/usbstor/descriptor.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbstor/descri…
==============================================================================
--- trunk/reactos/drivers/usb/usbstor/descriptor.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbstor/descriptor.c [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -546,4 +546,4 @@
// device is configured
//
return STATUS_SUCCESS;
-}
+}
Modified: trunk/reactos/drivers/usb/usbstor/misc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbstor/misc.c…
==============================================================================
--- trunk/reactos/drivers/usb/usbstor/misc.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbstor/misc.c [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -517,4 +517,3 @@
//
return FALSE;
}
-
Modified: trunk/reactos/drivers/usb/usbstor/usbstor.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbstor/usbsto…
==============================================================================
--- trunk/reactos/drivers/usb/usbstor/usbstor.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbstor/usbstor.c [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -293,4 +293,3 @@
return STATUS_SUCCESS;
}
-
Modified: trunk/reactos/drivers/usb/usbstor/usbstor.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbstor/usbsto…
==============================================================================
--- trunk/reactos/drivers/usb/usbstor/usbstor.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbstor/usbstor.h [iso-8859-1] Thu Feb 6 11:18:34 2014
@@ -1,5 +1,5 @@
-
-#pragma once
+#ifndef _USBSTOR_H_
+#define _USBSTOR_H_
#include <wdm.h>
#include <usbdi.h>
@@ -9,8 +9,6 @@
#define USB_STOR_TAG 'sbsu'
#define USB_MAXCHILDREN (16)
-
-
#define HTONS(n) (((((unsigned short)(n) & 0xFF)) << 8) | (((unsigned short)(n)
& 0xFF00) >> 8))
#define NTOHS(n) (((((unsigned short)(n) & 0xFF)) << 8) | (((unsigned short)(n)
& 0xFF00) >> 8))
@@ -549,3 +547,4 @@
PDEVICE_OBJECT DeviceObject,
PVOID Context);
+#endif /* _USBSTOR_H_ */
Modified: trunk/reactos/drivers/wdm/audio/filters/kmixer/kmixer.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/filters/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/filters/kmixer/kmixer.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/wdm/audio/filters/kmixer/kmixer.h [iso-8859-1] Thu Feb 6
11:18:34 2014
@@ -1,3 +1,6 @@
+#ifndef _KMIXER_PCH_
+#define _KMIXER_PCH_
+
#include <portcls.h>
#include <float_cast.h>
@@ -29,3 +32,5 @@
#define KeSaveFloatingPointState(x) ((void)(x), STATUS_SUCCESS)
#define KeRestoreFloatingPointState(x) ((void)0)
#endif
+
+#endif /* _KMIXER_PCH_ */
Modified: trunk/reactos/drivers/wdm/audio/legacy/wdmaud/deviface.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/legacy/w…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/legacy/wdmaud/deviface.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/wdm/audio/legacy/wdmaud/deviface.c [iso-8859-1] Thu Feb 6
11:18:34 2014
@@ -260,6 +260,3 @@
/* done */
return STATUS_SUCCESS;
}
-
-
-
Modified: trunk/reactos/drivers/wdm/audio/legacy/wdmaud/mmixer.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/legacy/w…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/legacy/wdmaud/mmixer.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/wdm/audio/legacy/wdmaud/mmixer.c [iso-8859-1] Thu Feb 6
11:18:34 2014
@@ -804,4 +804,3 @@
else
return SetIrpIoStatus(Irp, STATUS_NOT_SUPPORTED, sizeof(WDMAUD_DEVICE_INFO));
}
-
Modified: trunk/reactos/drivers/wdm/audio/legacy/wdmaud/wdmaud.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/legacy/w…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/legacy/wdmaud/wdmaud.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/wdm/audio/legacy/wdmaud/wdmaud.h [iso-8859-1] Thu Feb 6
11:18:34 2014
@@ -1,3 +1,6 @@
+#ifndef _WDMAUD_PCH_
+#define _WDMAUD_PCH_
+
#include <portcls.h>
#include <mmsystem.h>
@@ -309,3 +312,4 @@
FreeItem(
IN PVOID Item);
+#endif /* _WDMAUD_PCH_ */
Modified: trunk/reactos/drivers/wdm/audio/sysaudio/deviface.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/sysaudio…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/sysaudio/deviface.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/wdm/audio/sysaudio/deviface.c [iso-8859-1] Thu Feb 6 11:18:34
2014
@@ -265,4 +265,3 @@
return Status;
}
-
Modified: trunk/reactos/drivers/wdm/audio/sysaudio/sysaudio.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/sysaudio…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/sysaudio/sysaudio.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/wdm/audio/sysaudio/sysaudio.h [iso-8859-1] Thu Feb 6 11:18:34
2014
@@ -1,3 +1,6 @@
+#ifndef _SYSAUDIO_PCH_
+#define _SYSAUDIO_PCH_
+
#include <portcls.h>
typedef struct
@@ -116,3 +119,4 @@
FreeItem(
IN PVOID Item);
+#endif /* _SYSAUDIO_PCH_ */