- Replace "VOLATILE" with "volatile"
authorStefan Ginsberg <stefanginsberg@gmail.com>
Tue, 16 Jun 2009 22:20:27 +0000 (22:20 +0000)
committerStefan Ginsberg <stefanginsberg@gmail.com>
Tue, 16 Jun 2009 22:20:27 +0000 (22:20 +0000)
svn path=/trunk/; revision=41428

reactos/include/ddk/wdm.h
reactos/include/ddk/winddk.h

index 2fd9800..318ba24 100644 (file)
@@ -467,7 +467,7 @@ InterlockedExchangeAdd(
 /*\r
  * PVOID\r
  * InterlockedExchangePointer(\r
- *   IN OUT PVOID VOLATILE  *Target,\r
+ *   IN OUT PVOID volatile  *Target,\r
  *   IN PVOID  Value)\r
  */\r
 #define InterlockedExchangePointer(Target, Value) \\r
index 8dfa179..afd2fb1 100644 (file)
@@ -48,7 +48,6 @@ extern "C" {
 #define UNALLIGNED
 
 #define CONST const
-#define VOLATILE volatile
 
 #define RESTRICTED_POINTER
 
@@ -1213,8 +1212,8 @@ typedef enum _KSPIN_LOCK_QUEUE_NUMBER
 } KSPIN_LOCK_QUEUE_NUMBER, *PKSPIN_LOCK_QUEUE_NUMBER;
 
 typedef struct _KSPIN_LOCK_QUEUE {
-  struct _KSPIN_LOCK_QUEUE  *VOLATILE Next;
-  PKSPIN_LOCK VOLATILE  Lock;
+  struct _KSPIN_LOCK_QUEUE  *volatile Next;
+  PKSPIN_LOCK volatile  Lock;
 } KSPIN_LOCK_QUEUE, *PKSPIN_LOCK_QUEUE;
 
 typedef struct _KLOCK_QUEUE_HANDLE {