Author: fireball
Date: Fri Mar 30 19:39:27 2007
New Revision: 26210
URL:
http://svn.reactos.org/svn/reactos?rev=26210&view=rev
Log:
- 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
Modified:
trunk/reactos/include/ddk/newdev.h
Modified: trunk/reactos/include/ddk/newdev.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/newdev.h?rev=2…
==============================================================================
--- trunk/reactos/include/ddk/newdev.h (original)
+++ trunk/reactos/include/ddk/newdev.h Fri Mar 30 19:39:27 2007
@@ -20,10 +20,13 @@
*
*/
-#ifndef _INC_NEWDEV
-#define _INC_NEWDEV
+#ifndef __NEWDEV_H
+#define __NEWDEV_H
-#include <pshpack1.h>
+#if __GNUC__ >=3
+#pragma GCC system_header
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -41,8 +44,6 @@
LPCSTR FullInfPath,
DWORD InstallFlags,
PBOOL bRebootRequired OPTIONAL);
-
-
BOOL WINAPI
UpdateDriverForPlugAndPlayDevicesW(
@@ -62,6 +63,4 @@
}
#endif
-#include <poppack.h>
-
#endif /* __NEWDEV_H */