- Fix intlck compile.
authorAleksey Bragin <aleksey@reactos.org>
Tue, 30 Jan 2007 19:50:34 +0000 (19:50 +0000)
committerAleksey Bragin <aleksey@reactos.org>
Tue, 30 Jan 2007 19:50:34 +0000 (19:50 +0000)
svn path=/trunk/; revision=25662

reactos/lib/intrlck/i386/compareexchange.c
reactos/lib/intrlck/i386/decrement.c
reactos/lib/intrlck/i386/exchange.c
reactos/lib/intrlck/i386/exchangeadd.c
reactos/lib/intrlck/i386/increment.c

index 757eeb9..98eeb80 100644 (file)
@@ -25,7 +25,7 @@
 LONG
 NTAPI
 InterlockedCompareExchange(
 LONG
 NTAPI
 InterlockedCompareExchange(
-       LPLONG Destination,
+       IN OUT LONG volatile *Destination,
        LONG Exchange,
        LONG Comperand)
 {
        LONG Exchange,
        LONG Comperand)
 {
index 516ba7c..78f9c74 100644 (file)
@@ -22,7 +22,7 @@
 #include <windows.h>
 LONG
 NTAPI
 #include <windows.h>
 LONG
 NTAPI
-InterlockedDecrement(LPLONG lpAddend)
+InterlockedDecrement(IN OUT LONG volatile *lpAddend)
 {
        LONG ret;
        __asm__
 {
        LONG ret;
        __asm__
index 2acde0d..56af2ef 100644 (file)
@@ -23,7 +23,7 @@
 #include <windows.h>
 LONG
 NTAPI
 #include <windows.h>
 LONG
 NTAPI
-InterlockedExchange(LPLONG target, LONG value)
+InterlockedExchange(IN OUT LONG volatile *target, LONG value)
 {
        LONG ret;
        __asm__ (
 {
        LONG ret;
        __asm__ (
index e32bedc..b48bfda 100644 (file)
@@ -25,7 +25,7 @@
 LONG
 NTAPI
 InterlockedExchangeAdd(
 LONG
 NTAPI
 InterlockedExchangeAdd(
-       PLONG Addend,
+       IN OUT LONG volatile *Addend,
        LONG Increment)
 {
        LONG ret;
        LONG Increment)
 {
        LONG ret;
index 647e58f..d077518 100644 (file)
@@ -22,7 +22,7 @@
 #include <windows.h>
 LONG
 NTAPI
 #include <windows.h>
 LONG
 NTAPI
-InterlockedIncrement(PLONG lpAddend)
+InterlockedIncrement(IN OUT LONG volatile *lpAddend)
 {
        LONG ret;
        __asm__
 {
        LONG ret;
        __asm__