This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] w32api - fix typo for InterlockedExchangePointer


Tue Sep  4 14:15:59 2001  Christopher Faylor <cgf@cygnus.com>

	* winbase.h: Add missing closing parentheses to
	InterlockedExchangePointer declaration.

Index: include/winbase.h
===================================================================
RCS file: /cvs/uberbaum/winsup/w32api/include/winbase.h,v
retrieving revision 1.14
diff -p -r1.14 winbase.h
*** winbase.h	2001/08/21 13:58:51	1.14
--- winbase.h	2001/09/04 18:15:48
*************** LONG WINAPI InterlockedDecrement(LPLONG)
*** 1319,1325 ****
  LONG WINAPI InterlockedExchange(LPLONG,LONG);
  /* PVOID WINAPI InterlockedExchangePointer(PVOID*,PVOID); */
  #define InterlockedExchangePointer(t,v) \
!     (PVOID)InterlockedExchange((LPLONG)(t),(LONG)(v)
  LONG WINAPI InterlockedExchangeAdd(PLONG,LONG);
  LONG WINAPI InterlockedIncrement(LPLONG);
  BOOL WINAPI IsBadCodePtr(FARPROC);
--- 1319,1325 ----
  LONG WINAPI InterlockedExchange(LPLONG,LONG);
  /* PVOID WINAPI InterlockedExchangePointer(PVOID*,PVOID); */
  #define InterlockedExchangePointer(t,v) \
!     (PVOID)InterlockedExchange((LPLONG)(t),(LONG)(v))
  LONG WINAPI InterlockedExchangeAdd(PLONG,LONG);
  LONG WINAPI InterlockedIncrement(LPLONG);
  BOOL WINAPI IsBadCodePtr(FARPROC);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]