diff options
author | Earnie Boyd <earnie@users.sf.net> | 2012-08-01 17:38:51 +0000 |
---|---|---|
committer | Earnie Boyd <earnie@users.sf.net> | 2012-08-01 17:38:51 +0000 |
commit | 8c582a20536a0c387905b336c5d9e377926d2f8d (patch) | |
tree | 205cbfb6c49e3b9d6319bcb60f577b842e1271ba /winsup/w32api/include | |
parent | 30ea43437c9cf195e9907378365f3a9116b7763d (diff) | |
download | newlib-8c582a20536a0c387905b336c5d9e377926d2f8d.zip newlib-8c582a20536a0c387905b336c5d9e377926d2f8d.tar.gz newlib-8c582a20536a0c387905b336c5d9e377926d2f8d.tar.bz2 |
* include/winbase.h (InterlockedDecrement): Modify declaration from
LONG WINAPI to LONG __cdecl to match Microsoft documentation.
(InterlockedIncrement): Ditto.
(InterlockedExchange): Ditto.
Diffstat (limited to 'winsup/w32api/include')
-rw-r--r-- | winsup/w32api/include/winbase.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/w32api/include/winbase.h b/winsup/w32api/include/winbase.h index a615470..aa16841 100644 --- a/winsup/w32api/include/winbase.h +++ b/winsup/w32api/include/winbase.h @@ -1846,8 +1846,8 @@ LONG WINAPI InterlockedCompareExchange(LONG volatile *,LONG,LONG); /* PVOID WINAPI InterlockedCompareExchangePointer(PVOID*,PVOID,PVOID); */ #define InterlockedCompareExchangePointer(d,e,c) \ (PVOID)InterlockedCompareExchange((LONG volatile *)(d),(LONG)(e),(LONG)(c)) -LONG WINAPI InterlockedDecrement(LONG volatile *); -LONG WINAPI InterlockedExchange(LONG volatile *,LONG); +LONG __cdecl InterlockedDecrement(LONG volatile *); +LONG __cdecl InterlockedExchange(LONG volatile *,LONG); /* PVOID WINAPI InterlockedExchangePointer(PVOID*,PVOID); */ #define InterlockedExchangePointer(t,v) \ (PVOID)InterlockedExchange((LONG volatile *)(t),(LONG)(v)) @@ -1855,7 +1855,7 @@ LONG WINAPI InterlockedExchangeAdd(LONG volatile *,LONG); #if (_WIN32_WINNT >= 0x0501) PSLIST_ENTRY WINAPI InterlockedFlushSList(PSLIST_HEADER); #endif -LONG WINAPI InterlockedIncrement(LONG volatile *); +LONG __cdecl InterlockedIncrement(LONG volatile *); #if (_WIN32_WINNT >= 0x0501) PSLIST_ENTRY WINAPI InterlockedPopEntrySList(PSLIST_HEADER); PSLIST_ENTRY WINAPI InterlockedPushEntrySList(PSLIST_HEADER,PSLIST_ENTRY); |