delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/09/04/14:22:23

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Date: Tue, 4 Sep 2001 14:22:16 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin-developers AT cygwin DOT com
Subject: [PATCH] w32api - fix typo for InterlockedExchangePointer
Message-ID: <20010904142216.A8788@redhat.com>
Reply-To: cygwin-developers AT cygwin DOT com
Mail-Followup-To: cygwin-developers AT cygwin DOT com
Mime-Version: 1.0
User-Agent: Mutt/1.3.21i

Tue Sep  4 14:15:59 2001  Christopher Faylor <cgf AT cygnus DOT 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);

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019