[ros-diffs] [fireball] 25662: - Fix intlck compile.

fireball at svn.reactos.org fireball at svn.reactos.org
Tue Jan 30 20:50:36 CET 2007


Author: fireball
Date: Tue Jan 30 22:50:34 2007
New Revision: 25662

URL: http://svn.reactos.org/svn/reactos?rev=25662&view=rev
Log:
- Fix intlck compile.

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

Modified: trunk/reactos/lib/intrlck/i386/compareexchange.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/intrlck/i386/compareexchange.c?rev=25662&r1=25661&r2=25662&view=diff
==============================================================================
--- trunk/reactos/lib/intrlck/i386/compareexchange.c (original)
+++ trunk/reactos/lib/intrlck/i386/compareexchange.c Tue Jan 30 22:50:34 2007
@@ -25,7 +25,7 @@
 LONG
 NTAPI
 InterlockedCompareExchange(
-	LPLONG Destination,
+	IN OUT LONG volatile *Destination,
 	LONG Exchange,
 	LONG Comperand)
 {

Modified: trunk/reactos/lib/intrlck/i386/decrement.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/intrlck/i386/decrement.c?rev=25662&r1=25661&r2=25662&view=diff
==============================================================================
--- trunk/reactos/lib/intrlck/i386/decrement.c (original)
+++ trunk/reactos/lib/intrlck/i386/decrement.c Tue Jan 30 22:50:34 2007
@@ -22,7 +22,7 @@
 #include <windows.h>
 LONG
 NTAPI
-InterlockedDecrement(LPLONG lpAddend)
+InterlockedDecrement(IN OUT LONG volatile *lpAddend)
 {
 	LONG ret;
 	__asm__

Modified: trunk/reactos/lib/intrlck/i386/exchange.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/intrlck/i386/exchange.c?rev=25662&r1=25661&r2=25662&view=diff
==============================================================================
--- trunk/reactos/lib/intrlck/i386/exchange.c (original)
+++ trunk/reactos/lib/intrlck/i386/exchange.c Tue Jan 30 22:50:34 2007
@@ -23,7 +23,7 @@
 #include <windows.h>
 LONG
 NTAPI
-InterlockedExchange(LPLONG target, LONG value)
+InterlockedExchange(IN OUT LONG volatile *target, LONG value)
 {
 	LONG ret;
 	__asm__ (

Modified: trunk/reactos/lib/intrlck/i386/exchangeadd.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/intrlck/i386/exchangeadd.c?rev=25662&r1=25661&r2=25662&view=diff
==============================================================================
--- trunk/reactos/lib/intrlck/i386/exchangeadd.c (original)
+++ trunk/reactos/lib/intrlck/i386/exchangeadd.c Tue Jan 30 22:50:34 2007
@@ -25,7 +25,7 @@
 LONG
 NTAPI
 InterlockedExchangeAdd(
-	PLONG Addend,
+	IN OUT LONG volatile *Addend,
 	LONG Increment)
 {
 	LONG ret;

Modified: trunk/reactos/lib/intrlck/i386/increment.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/intrlck/i386/increment.c?rev=25662&r1=25661&r2=25662&view=diff
==============================================================================
--- trunk/reactos/lib/intrlck/i386/increment.c (original)
+++ trunk/reactos/lib/intrlck/i386/increment.c Tue Jan 30 22:50:34 2007
@@ -22,7 +22,7 @@
 #include <windows.h>
 LONG
 NTAPI
-InterlockedIncrement(PLONG lpAddend)
+InterlockedIncrement(IN OUT LONG volatile *lpAddend)
 {
 	LONG ret;
 	__asm__




More information about the Ros-diffs mailing list