[ros-diffs] [sginsberg] 41428: - Replace "VOLATILE" with "volatile"

sginsberg at svn.reactos.org sginsberg at svn.reactos.org
Wed Jun 17 00:20:29 CEST 2009


Author: sginsberg
Date: Wed Jun 17 02:20:27 2009
New Revision: 41428

URL: http://svn.reactos.org/svn/reactos?rev=41428&view=rev
Log:
- Replace "VOLATILE" with "volatile"

Modified:
    trunk/reactos/include/ddk/wdm.h
    trunk/reactos/include/ddk/winddk.h

Modified: trunk/reactos/include/ddk/wdm.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/wdm.h?rev=41428&r1=41427&r2=41428&view=diff
==============================================================================
--- trunk/reactos/include/ddk/wdm.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/wdm.h [iso-8859-1] Wed Jun 17 02:20:27 2009
@@ -467,7 +467,7 @@
 /*
  * PVOID
  * InterlockedExchangePointer(
- *   IN OUT PVOID VOLATILE  *Target,
+ *   IN OUT PVOID volatile  *Target,
  *   IN PVOID  Value)
  */
 #define InterlockedExchangePointer(Target, Value) \

Modified: trunk/reactos/include/ddk/winddk.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/winddk.h?rev=41428&r1=41427&r2=41428&view=diff
==============================================================================
--- trunk/reactos/include/ddk/winddk.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/winddk.h [iso-8859-1] Wed Jun 17 02:20:27 2009
@@ -48,7 +48,6 @@
 #define UNALLIGNED
 
 #define CONST const
-#define VOLATILE volatile
 
 #define RESTRICTED_POINTER
 
@@ -1213,8 +1212,8 @@
 } 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 {



More information about the Ros-diffs mailing list