diff options
author | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2018-12-30 05:55:44 +0000 |
---|---|---|
committer | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2018-12-30 05:55:44 +0000 |
commit | 984866d18a87833a37e10fd31829e3b7d7a596b3 (patch) | |
tree | d23ad21ab5e1b1fb754897dc426c95012bf6a48c /src/VBox | |
parent | 010df939521d50d1ca69293ccb8a2d48e33dc222 (diff) | |
download | VirtualBox-svn-984866d18a87833a37e10fd31829e3b7d7a596b3.tar.gz |
HostDrivers: scm --fix-header-guards. bugref:9344
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@76527 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox')
37 files changed, 127 insertions, 7 deletions
diff --git a/src/VBox/HostDrivers/.scm-settings b/src/VBox/HostDrivers/.scm-settings index 9ca792a3147..d213c82cc6a 100644 --- a/src/VBox/HostDrivers/.scm-settings +++ b/src/VBox/HostDrivers/.scm-settings @@ -43,8 +43,8 @@ /VBoxUSB/os2/usbcalls.h: --external-copyright --no-convert-tabs # Trivial dual C and assembly include files which cannot have comments. -/Support/win/import-template-kernel32.h: --no-update-copyright-year --no-update-license -/Support/win/import-template-ntdll.h: --no-update-copyright-year --no-update-license +/Support/win/import-template-kernel32.h: --no-update-copyright-year --no-update-license --no-fix-header-guards +/Support/win/import-template-ntdll.h: --no-update-copyright-year --no-update-license --no-fix-header-guards # Ignore binary files --filter-out-files /Support/Certificates/*.taf @@ -55,6 +55,6 @@ /*/solaris/*.conf: --treat-as .sh --filter-out-files /VBoxNetAdp/solaris/hostname.vboxnet0 --filter-out-files /VBoxNetFlt/win/nobj/VBoxNetFltNobj.rgs -/VBoxNetFlt/win/nobj/VBoxNetFltNobjT.idl: --treat-as .h +/VBoxNetFlt/win/nobj/VBoxNetFltNobjT.idl: --treat-as .h --no-fix-header-guards /Support/solaris/mod.sh: --no-convert-tabs /Support/linux/SUPDrv-linux.mod.c: --no-convert-tabs diff --git a/src/VBox/HostDrivers/Support/SUPDrvIDC.h b/src/VBox/HostDrivers/Support/SUPDrvIDC.h index 8e6e3a7042c..1dc466d293b 100644 --- a/src/VBox/HostDrivers/Support/SUPDrvIDC.h +++ b/src/VBox/HostDrivers/Support/SUPDrvIDC.h @@ -26,6 +26,9 @@ #ifndef ___SUPDrvIDC_h___ #define ___SUPDrvIDC_h___ +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif #include <VBox/types.h> diff --git a/src/VBox/HostDrivers/Support/SUPDrvIOC.h b/src/VBox/HostDrivers/Support/SUPDrvIOC.h index d223b23c9b1..b5cb6ea0de2 100644 --- a/src/VBox/HostDrivers/Support/SUPDrvIOC.h +++ b/src/VBox/HostDrivers/Support/SUPDrvIOC.h @@ -26,6 +26,9 @@ #ifndef ___SUPDrvIOC_h___ #define ___SUPDrvIOC_h___ +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif #include <iprt/types.h> #include <VBox/sup.h> diff --git a/src/VBox/HostDrivers/Support/SUPDrvInternal.h b/src/VBox/HostDrivers/Support/SUPDrvInternal.h index d5b68cf0452..2ae02531b2f 100644 --- a/src/VBox/HostDrivers/Support/SUPDrvInternal.h +++ b/src/VBox/HostDrivers/Support/SUPDrvInternal.h @@ -26,6 +26,9 @@ #ifndef ___SUPDrvInternal_h #define ___SUPDrvInternal_h +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif /******************************************************************************* diff --git a/src/VBox/HostDrivers/Support/SUPLibInternal.h b/src/VBox/HostDrivers/Support/SUPLibInternal.h index 238baa0f458..0171fc9d33d 100644 --- a/src/VBox/HostDrivers/Support/SUPLibInternal.h +++ b/src/VBox/HostDrivers/Support/SUPLibInternal.h @@ -26,6 +26,9 @@ #ifndef ___SUPLibInternal_h___ #define ___SUPLibInternal_h___ +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif #include <VBox/cdefs.h> #include <VBox/types.h> diff --git a/src/VBox/HostDrivers/Support/SUPR0IdcClientInternal.h b/src/VBox/HostDrivers/Support/SUPR0IdcClientInternal.h index c2a11e99378..852b46b8f04 100644 --- a/src/VBox/HostDrivers/Support/SUPR0IdcClientInternal.h +++ b/src/VBox/HostDrivers/Support/SUPR0IdcClientInternal.h @@ -26,6 +26,9 @@ #ifndef ___SUPR0IdcClientInternal_h__ #define ___SUPR0IdcClientInternal_h__ +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif #include <VBox/types.h> #include <iprt/assert.h> diff --git a/src/VBox/HostDrivers/Support/SUPSvcInternal.h b/src/VBox/HostDrivers/Support/SUPSvcInternal.h index 576691db389..b243e1f9143 100644 --- a/src/VBox/HostDrivers/Support/SUPSvcInternal.h +++ b/src/VBox/HostDrivers/Support/SUPSvcInternal.h @@ -26,6 +26,9 @@ #ifndef ___SUPSvcInternal_h___ #define ___SUPSvcInternal_h___ +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif #include <VBox/cdefs.h> #include <VBox/types.h> diff --git a/src/VBox/HostDrivers/Support/darwin/sys/dtrace_glue.h b/src/VBox/HostDrivers/Support/darwin/sys/dtrace_glue.h index e286e5eb068..aa640261d53 100644 --- a/src/VBox/HostDrivers/Support/darwin/sys/dtrace_glue.h +++ b/src/VBox/HostDrivers/Support/darwin/sys/dtrace_glue.h @@ -24,9 +24,16 @@ * terms and conditions of either the GPL or the CDDL or both. */ +#ifndef VBOX_INCLUDED_darwin_sys_dtrace_glue_h +#define VBOX_INCLUDED_darwin_sys_dtrace_glue_h +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif + #define _KERNEL typedef struct solaris_cred cred_t; typedef struct solaris_kthread kthread_t; typedef struct solaris_x86_saved_state x86_saved_state_t; typedef unsigned int model_t; +#endif diff --git a/src/VBox/HostDrivers/Support/win/SUPHardenedVerify-win.h b/src/VBox/HostDrivers/Support/win/SUPHardenedVerify-win.h index ed3472f1848..596113214a5 100644 --- a/src/VBox/HostDrivers/Support/win/SUPHardenedVerify-win.h +++ b/src/VBox/HostDrivers/Support/win/SUPHardenedVerify-win.h @@ -26,6 +26,9 @@ #ifndef ___win_SUPHardenedVerify_win_h #define ___win_SUPHardenedVerify_win_h +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif #include <iprt/types.h> #include <iprt/crypto/x509.h> diff --git a/src/VBox/HostDrivers/VBoxNetAdp/VBoxNetAdpInternal.h b/src/VBox/HostDrivers/VBoxNetAdp/VBoxNetAdpInternal.h index 41b29c79108..3426086d735 100644 --- a/src/VBox/HostDrivers/VBoxNetAdp/VBoxNetAdpInternal.h +++ b/src/VBox/HostDrivers/VBoxNetAdp/VBoxNetAdpInternal.h @@ -26,6 +26,9 @@ #ifndef ___VBoxNetAdpInternal_h___ #define ___VBoxNetAdpInternal_h___ +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif #include <VBox/sup.h> #include <VBox/intnet.h> diff --git a/src/VBox/HostDrivers/VBoxNetAdp/win/VBoxNetAdp-win.h b/src/VBox/HostDrivers/VBoxNetAdp/win/VBoxNetAdp-win.h index 4a74f4ca36c..4b3b1cd0f49 100644 --- a/src/VBox/HostDrivers/VBoxNetAdp/win/VBoxNetAdp-win.h +++ b/src/VBox/HostDrivers/VBoxNetAdp/win/VBoxNetAdp-win.h @@ -22,8 +22,12 @@ * You may elect to license modified versions of this file under the * terms and conditions of either the GPL or the CDDL or both. */ + #ifndef ___VBoxNetAdp_win_h___ #define ___VBoxNetAdp_win_h___ +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif #define VBOXNETADP_VERSION_NDIS_MAJOR 6 #define VBOXNETADP_VERSION_NDIS_MINOR 0 diff --git a/src/VBox/HostDrivers/VBoxNetFlt/VBoxNetFltInternal.h b/src/VBox/HostDrivers/VBoxNetFlt/VBoxNetFltInternal.h index 872cd1b0e77..1df599397ee 100644 --- a/src/VBox/HostDrivers/VBoxNetFlt/VBoxNetFltInternal.h +++ b/src/VBox/HostDrivers/VBoxNetFlt/VBoxNetFltInternal.h @@ -26,6 +26,9 @@ #ifndef ___VBoxNetFltInternal_h___ #define ___VBoxNetFltInternal_h___ +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif #include <VBox/sup.h> #include <VBox/intnet.h> diff --git a/src/VBox/HostDrivers/VBoxNetFlt/win/drv/VBoxNetFltCmn-win.h b/src/VBox/HostDrivers/VBoxNetFlt/win/drv/VBoxNetFltCmn-win.h index 24a19d86010..46a3110acb0 100644 --- a/src/VBox/HostDrivers/VBoxNetFlt/win/drv/VBoxNetFltCmn-win.h +++ b/src/VBox/HostDrivers/VBoxNetFlt/win/drv/VBoxNetFltCmn-win.h @@ -27,6 +27,9 @@ #ifndef ___VBoxNetFltCmn_win_h___ #define ___VBoxNetFltCmn_win_h___ +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif #define LOG_GROUP LOG_GROUP_NET_FLT_DRV diff --git a/src/VBox/HostDrivers/VBoxNetFlt/win/drv/VBoxNetFltM-win.h b/src/VBox/HostDrivers/VBoxNetFlt/win/drv/VBoxNetFltM-win.h index f145b92da4b..1a7629b60dc 100644 --- a/src/VBox/HostDrivers/VBoxNetFlt/win/drv/VBoxNetFltM-win.h +++ b/src/VBox/HostDrivers/VBoxNetFlt/win/drv/VBoxNetFltM-win.h @@ -26,6 +26,9 @@ #ifndef ___VBoxNetFltM_win_h___ #define ___VBoxNetFltM_win_h___ +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif DECLHIDDEN(NDIS_STATUS) vboxNetFltWinMpRegister(PVBOXNETFLTGLOBALS_MP pGlobalsMp, PDRIVER_OBJECT pDriverObject, PUNICODE_STRING pRegistryPathStr); DECLHIDDEN(VOID) vboxNetFltWinMpDeregister(PVBOXNETFLTGLOBALS_MP pGlobalsMp); diff --git a/src/VBox/HostDrivers/VBoxNetFlt/win/drv/VBoxNetFltP-win.h b/src/VBox/HostDrivers/VBoxNetFlt/win/drv/VBoxNetFltP-win.h index 097c0877055..951d3640e8d 100644 --- a/src/VBox/HostDrivers/VBoxNetFlt/win/drv/VBoxNetFltP-win.h +++ b/src/VBox/HostDrivers/VBoxNetFlt/win/drv/VBoxNetFltP-win.h @@ -23,8 +23,12 @@ * You may elect to license modified versions of this file under the * terms and conditions of either the GPL or the CDDL or both. */ + #ifndef ___VBoxNetFltP_win_h___ #define ___VBoxNetFltP_win_h___ +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif #ifdef VBOXNETADP # error "No protocol edge" diff --git a/src/VBox/HostDrivers/VBoxNetFlt/win/drv/VBoxNetFltRt-win.h b/src/VBox/HostDrivers/VBoxNetFlt/win/drv/VBoxNetFltRt-win.h index 97db85abf7c..fa42fbb33e4 100644 --- a/src/VBox/HostDrivers/VBoxNetFlt/win/drv/VBoxNetFltRt-win.h +++ b/src/VBox/HostDrivers/VBoxNetFlt/win/drv/VBoxNetFltRt-win.h @@ -23,8 +23,12 @@ * You may elect to license modified versions of this file under the * terms and conditions of either the GPL or the CDDL or both. */ + #ifndef ___VBoxNetFltRt_win_h___ #define ___VBoxNetFltRt_win_h___ +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif DECLHIDDEN(VOID) vboxNetFltWinUnload(IN PDRIVER_OBJECT DriverObject); #ifndef VBOXNETADP diff --git a/src/VBox/HostDrivers/VBoxNetFlt/win/drv/VBoxNetLwf-win.h b/src/VBox/HostDrivers/VBoxNetFlt/win/drv/VBoxNetLwf-win.h index f63419b2994..f7c46adecab 100644 --- a/src/VBox/HostDrivers/VBoxNetFlt/win/drv/VBoxNetLwf-win.h +++ b/src/VBox/HostDrivers/VBoxNetFlt/win/drv/VBoxNetLwf-win.h @@ -22,8 +22,12 @@ * You may elect to license modified versions of this file under the * terms and conditions of either the GPL or the CDDL or both. */ + #ifndef ___VBoxNetLwf_win_h___ #define ___VBoxNetLwf_win_h___ +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif #define VBOXNETLWF_VERSION_NDIS_MAJOR 6 #define VBOXNETLWF_VERSION_NDIS_MINOR 0 diff --git a/src/VBox/HostDrivers/VBoxNetFlt/win/nobj/VBoxNetFltNobj.h b/src/VBox/HostDrivers/VBoxNetFlt/win/nobj/VBoxNetFltNobj.h index 1f8a1abb4de..7d5c807b98f 100644 --- a/src/VBox/HostDrivers/VBoxNetFlt/win/nobj/VBoxNetFltNobj.h +++ b/src/VBox/HostDrivers/VBoxNetFlt/win/nobj/VBoxNetFltNobj.h @@ -23,8 +23,12 @@ * You may elect to license modified versions of this file under the * terms and conditions of either the GPL or the CDDL or both. */ + #ifndef ___VBoxNetFltNobj_h___ #define ___VBoxNetFltNobj_h___ +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif #include <iprt/win/windows.h> diff --git a/src/VBox/HostDrivers/VBoxNetFlt/win/nobj/VBoxNetFltNobjRc.h b/src/VBox/HostDrivers/VBoxNetFlt/win/nobj/VBoxNetFltNobjRc.h index f254abc16b5..33d21ce4c1b 100644 --- a/src/VBox/HostDrivers/VBoxNetFlt/win/nobj/VBoxNetFltNobjRc.h +++ b/src/VBox/HostDrivers/VBoxNetFlt/win/nobj/VBoxNetFltNobjRc.h @@ -23,8 +23,12 @@ * You may elect to license modified versions of this file under the * terms and conditions of either the GPL or the CDDL or both. */ + #ifndef ___VBoxNetFltNobjRc_h___ #define ___VBoxNetFltNobjRc_h___ +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif /* registry script rc ID */ #define IDR_VBOXNETFLT_NOBJ 101 diff --git a/src/VBox/HostDrivers/VBoxNetFlt/win/nobj/VBoxNetFltNobjT.idl b/src/VBox/HostDrivers/VBoxNetFlt/win/nobj/VBoxNetFltNobjT.idl index 55dda8df4c5..e13aec4b5fb 100644 --- a/src/VBox/HostDrivers/VBoxNetFlt/win/nobj/VBoxNetFltNobjT.idl +++ b/src/VBox/HostDrivers/VBoxNetFlt/win/nobj/VBoxNetFltNobjT.idl @@ -1,8 +1,6 @@ /* $Id$ */ /** @file - * VBoxNetFltNobjT.idl - Notify Object for Bridged Networking Driver. - - * Type lib definition + * VBoxNetFltNobjT.idl - Notify Object for Bridged Networking Driver, typelib definition. */ /* diff --git a/src/VBox/HostDrivers/VBoxPci/VBoxPciInternal.h b/src/VBox/HostDrivers/VBoxPci/VBoxPciInternal.h index c353e3dd12f..bcd6b5ecb27 100644 --- a/src/VBox/HostDrivers/VBoxPci/VBoxPciInternal.h +++ b/src/VBox/HostDrivers/VBoxPci/VBoxPciInternal.h @@ -26,6 +26,9 @@ #ifndef ___VBoxPciInternal_h___ #define ___VBoxPciInternal_h___ +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif #include <VBox/sup.h> #include <VBox/rawpci.h> diff --git a/src/VBox/HostDrivers/VBoxUSB/VBoxUSBFilterMgr.h b/src/VBox/HostDrivers/VBoxUSB/VBoxUSBFilterMgr.h index 9fb09871f05..715cf0f0748 100644 --- a/src/VBox/HostDrivers/VBoxUSB/VBoxUSBFilterMgr.h +++ b/src/VBox/HostDrivers/VBoxUSB/VBoxUSBFilterMgr.h @@ -26,6 +26,9 @@ #ifndef ___VBoxUSBFilterMgr_h #define ___VBoxUSBFilterMgr_h +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif #include <VBox/usbfilter.h> diff --git a/src/VBox/HostDrivers/VBoxUSB/darwin/VBoxUSBInterface.h b/src/VBox/HostDrivers/VBoxUSB/darwin/VBoxUSBInterface.h index 59042ab511e..6f7aa7da104 100644 --- a/src/VBox/HostDrivers/VBoxUSB/darwin/VBoxUSBInterface.h +++ b/src/VBox/HostDrivers/VBoxUSB/darwin/VBoxUSBInterface.h @@ -26,6 +26,9 @@ #ifndef ___VBoxUSBInterface_h #define ___VBoxUSBInterface_h +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif #include <VBox/usbfilter.h> diff --git a/src/VBox/HostDrivers/VBoxUSB/os2/usbcalls.h b/src/VBox/HostDrivers/VBoxUSB/os2/usbcalls.h index b08ce36da24..0baec2e0220 100644 --- a/src/VBox/HostDrivers/VBoxUSB/os2/usbcalls.h +++ b/src/VBox/HostDrivers/VBoxUSB/os2/usbcalls.h @@ -1,5 +1,9 @@ -#ifndef _usbcalls_h__ + +#ifndef _usbcalls_h_ #define _usbcalls_h_ +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif #ifdef __cplusplus extern "C" { diff --git a/src/VBox/HostDrivers/VBoxUSB/win/cmn/VBoxDrvTool.h b/src/VBox/HostDrivers/VBoxUSB/win/cmn/VBoxDrvTool.h index e2f8963d720..f7b47550d76 100644 --- a/src/VBox/HostDrivers/VBoxUSB/win/cmn/VBoxDrvTool.h +++ b/src/VBox/HostDrivers/VBoxUSB/win/cmn/VBoxDrvTool.h @@ -26,6 +26,9 @@ #ifndef ___VBoxDrvTool_win_h___ #define ___VBoxDrvTool_win_h___ +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif #include <VBox/cdefs.h> #include <iprt/stdint.h> diff --git a/src/VBox/HostDrivers/VBoxUSB/win/cmn/VBoxUsbIdc.h b/src/VBox/HostDrivers/VBoxUSB/win/cmn/VBoxUsbIdc.h index c5d74310d47..a1bbf14c007 100644 --- a/src/VBox/HostDrivers/VBoxUSB/win/cmn/VBoxUsbIdc.h +++ b/src/VBox/HostDrivers/VBoxUSB/win/cmn/VBoxUsbIdc.h @@ -23,8 +23,12 @@ * You may elect to license modified versions of this file under the * terms and conditions of either the GPL or the CDDL or both. */ + #ifndef ___VBoxUsbIdc_h___ #define ___VBoxUsbIdc_h___ +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif #define VBOXUSBIDC_VERSION_MAJOR 1 #define VBOXUSBIDC_VERSION_MINOR 0 diff --git a/src/VBox/HostDrivers/VBoxUSB/win/cmn/VBoxUsbTool.h b/src/VBox/HostDrivers/VBoxUSB/win/cmn/VBoxUsbTool.h index 15642c5feb8..3e5d1dd3c2c 100644 --- a/src/VBox/HostDrivers/VBoxUSB/win/cmn/VBoxUsbTool.h +++ b/src/VBox/HostDrivers/VBoxUSB/win/cmn/VBoxUsbTool.h @@ -23,8 +23,12 @@ * You may elect to license modified versions of this file under the * terms and conditions of either the GPL or the CDDL or both. */ + #ifndef ___VBoxUsbTool_h___ #define ___VBoxUsbTool_h___ +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif #include "VBoxDrvTool.h" diff --git a/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbCmn.h b/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbCmn.h index 8efd99d3428..fa9038b944e 100644 --- a/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbCmn.h +++ b/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbCmn.h @@ -22,8 +22,12 @@ * You may elect to license modified versions of this file under the * terms and conditions of either the GPL or the CDDL or both. */ + #ifndef ___VBoxUsbCmn_h___ #define ___VBoxUsbCmn_h___ +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif #include "../cmn/VBoxDrvTool.h" #include "../cmn/VBoxUsbTool.h" diff --git a/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbDev.h b/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbDev.h index f6fb248a0e2..eb2afc70d4d 100644 --- a/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbDev.h +++ b/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbDev.h @@ -26,6 +26,9 @@ #ifndef ___VBoxUsbDev_h___ #define ___VBoxUsbDev_h___ +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif #include "VBoxUsbCmn.h" #include <VBox/cdefs.h> diff --git a/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbPnP.h b/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbPnP.h index ba077e898e5..aca7f549c6d 100644 --- a/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbPnP.h +++ b/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbPnP.h @@ -26,6 +26,9 @@ #ifndef ___VBoxUsbPnP_h___ #define ___VBoxUsbPnP_h___ +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif #include "VBoxUsbCmn.h" DECLHIDDEN(NTSTATUS) vboxUsbDispatchPnP(IN PDEVICE_OBJECT pDeviceObject, IN PIRP pIrp); diff --git a/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbPwr.h b/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbPwr.h index a50693a38c1..af290f245b3 100644 --- a/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbPwr.h +++ b/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbPwr.h @@ -25,6 +25,9 @@ #ifndef ___VBoxUsbPwr_h___ #define ___VBoxUsbPwr_h___ +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif typedef struct VBOXUSB_PWRSTATE { diff --git a/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbRt.h b/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbRt.h index 4b3f5f35338..fff48805f46 100644 --- a/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbRt.h +++ b/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbRt.h @@ -22,8 +22,12 @@ * You may elect to license modified versions of this file under the * terms and conditions of either the GPL or the CDDL or both. */ + #ifndef ___VBoxUsbRt_h___ #define ___VBoxUsbRt_h___ +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif #include "VBoxUsbCmn.h" #include "../cmn/VBoxUsbIdc.h" diff --git a/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbFlt.h b/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbFlt.h index 0cb88f1db65..2fbf0eeca7a 100644 --- a/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbFlt.h +++ b/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbFlt.h @@ -26,6 +26,9 @@ #ifndef ___win_mon_VBoxUsbFlt_h___ #define ___win_mon_VBoxUsbFlt_h___ +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif #include "VBoxUsbMon.h" #include <VBoxUSBFilterMgr.h> diff --git a/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbHook.h b/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbHook.h index e3d685d40d4..9ff1e278533 100644 --- a/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbHook.h +++ b/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbHook.h @@ -25,6 +25,9 @@ #ifndef ___VBoxUsbHook_h___ #define ___VBoxUsbHook_h___ +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif #include "VBoxUsbMon.h" diff --git a/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbMon.h b/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbMon.h index dfa89e190d5..fbb11f22b9e 100644 --- a/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbMon.h +++ b/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbMon.h @@ -22,8 +22,12 @@ * You may elect to license modified versions of this file under the * terms and conditions of either the GPL or the CDDL or both. */ + #ifndef ___VBoxUsbMon_h___ #define ___VBoxUsbMon_h___ +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif #include <VBox/cdefs.h> #include <VBox/types.h> diff --git a/src/VBox/HostDrivers/darwin/VBoxNetSend.h b/src/VBox/HostDrivers/darwin/VBoxNetSend.h index a3bc437d3c4..dbcb39bb4aa 100644 --- a/src/VBox/HostDrivers/darwin/VBoxNetSend.h +++ b/src/VBox/HostDrivers/darwin/VBoxNetSend.h @@ -25,8 +25,12 @@ */ /** @todo move this to src/VBox/HostDrivers/darwin as a .cpp file. */ + #ifndef ___VBox_VBoxNetSend_h #define ___VBox_VBoxNetSend_h +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif #if defined(RT_OS_DARWIN) diff --git a/src/VBox/HostDrivers/win/VBoxDbgLog.h b/src/VBox/HostDrivers/win/VBoxDbgLog.h index bb3820fc819..a9e1b6086fd 100644 --- a/src/VBox/HostDrivers/win/VBoxDbgLog.h +++ b/src/VBox/HostDrivers/win/VBoxDbgLog.h @@ -26,6 +26,9 @@ #ifndef ___VBoxDbgLog_h___ #define ___VBoxDbgLog_h___ +#ifndef RT_WITHOUT_PRAGMA_ONCE +# pragma once +#endif #ifndef VBOX_DBG_LOG_NAME # error VBOX_DBG_LOG_NAME should be defined! |