[DDK]
authorPierre Schweitzer <pierre@reactos.org>
Wed, 31 May 2017 17:02:44 +0000 (17:02 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Wed, 31 May 2017 17:02:44 +0000 (17:02 +0000)
sed -i s/__volatile/volatile/g to fix build with VS2010

CORE-13345

svn path=/trunk/; revision=74723

reactos/sdk/include/ddk/rxcontx.h
reactos/sdk/include/ddk/rxworkq.h

index 297efc0..d942fc5 100644 (file)
@@ -263,8 +263,8 @@ typedef struct _RX_CONTEXT
     PWCH AlsoCanonicalNameBuffer;
     PUNICODE_STRING LoudCompletionString;
 #ifdef RDBSS_TRACKER
-    __volatile LONG AcquireReleaseFcbTrackerX;
-    __volatile ULONG TrackerHistoryPointer;
+    volatile LONG AcquireReleaseFcbTrackerX;
+    volatile ULONG TrackerHistoryPointer;
     RX_FCBTRACKER_CALLINFO TrackerHistory[RDBSS_TRACKER_HISTORY_SIZE];
 #endif
 #if DBG
index a0bd092..de37e35 100644 (file)
@@ -40,16 +40,16 @@ typedef struct _RX_WORK_QUEUE_
    UCHAR Type;
    KSPIN_LOCK SpinLock;
    PRX_WORK_QUEUE_RUNDOWN_CONTEXT pRundownContext;
-   __volatile LONG NumberOfWorkItemsDispatched;
-   __volatile LONG NumberOfWorkItemsToBeDispatched;
+   volatile LONG NumberOfWorkItemsDispatched;
+   volatile LONG NumberOfWorkItemsToBeDispatched;
    LONG CumulativeQueueLength;
    LONG NumberOfSpinUpRequests;
    LONG MaximumNumberOfWorkerThreads;
    LONG MinimumNumberOfWorkerThreads;
-   __volatile LONG NumberOfActiveWorkerThreads;
-   __volatile LONG NumberOfIdleWorkerThreads;
+   volatile LONG NumberOfActiveWorkerThreads;
+   volatile LONG NumberOfIdleWorkerThreads;
    LONG NumberOfFailedSpinUpRequests;
-   __volatile LONG WorkQueueItemForSpinUpWorkerThreadInUse;
+   volatile LONG WorkQueueItemForSpinUpWorkerThreadInUse;
    RX_WORK_QUEUE_ITEM WorkQueueItemForTearDownWorkQueue;
    RX_WORK_QUEUE_ITEM WorkQueueItemForSpinUpWorkerThread;
    RX_WORK_QUEUE_ITEM WorkQueueItemForSpinDownWorkerThread;