From 1f9a18b920b2fa33db01ba65a6e66a6202f39f55 Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Fri, 30 Mar 2007 15:39:27 +0000 Subject: [PATCH] - Revert useless commit: * No need to copy stuff from DDK, it's prohibited (#define _INC_NEWDEV) * #pragma was put there especially, and no reason to remove it was said * pushpack / poppack does not do anything if there are no structs definitions svn path=/trunk/; revision=26210 --- reactos/include/ddk/newdev.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/reactos/include/ddk/newdev.h b/reactos/include/ddk/newdev.h index 91355406d06..9e317790009 100644 --- a/reactos/include/ddk/newdev.h +++ b/reactos/include/ddk/newdev.h @@ -20,10 +20,13 @@ * */ -#ifndef _INC_NEWDEV -#define _INC_NEWDEV +#ifndef __NEWDEV_H +#define __NEWDEV_H + +#if __GNUC__ >=3 +#pragma GCC system_header +#endif -#include #ifdef __cplusplus extern "C" { #endif @@ -42,8 +45,6 @@ UpdateDriverForPlugAndPlayDevicesA( DWORD InstallFlags, PBOOL bRebootRequired OPTIONAL); - - BOOL WINAPI UpdateDriverForPlugAndPlayDevicesW( HWND hwndParent, @@ -62,6 +63,4 @@ UpdateDriverForPlugAndPlayDevicesW( } #endif -#include - #endif /* __NEWDEV_H */