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/compareex…
==============================================================================
--- 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…
==============================================================================
--- 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.…
==============================================================================
--- 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/exchangea…
==============================================================================
--- 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…
==============================================================================
--- 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__