Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Sutcliffe <ir0nh34d@users.sourceforge.net>2009-11-21 03:38:55 +0300
committerChris Sutcliffe <ir0nh34d@users.sourceforge.net>2009-11-21 03:38:55 +0300
commit67779b719c8fe38ac9507ed6523ed29ed7095897 (patch)
tree751d46d90d35a7e46b0139fb9233617c16051c1e /winsup/w32api
parent626e7233d95240ab524e27f2279f1502e71547d0 (diff)
2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/winbase.h (UnmapViewOfFile): Correct definition. Thanks to Dimitry Sibiryakov for the report.
Diffstat (limited to 'winsup/w32api')
-rw-r--r--winsup/w32api/ChangeLog6
-rw-r--r--winsup/w32api/include/winbase.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 50e91c962..334448698 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,9 @@
+2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
+
+ * include/winbase.h (UnmapViewOfFile): Correct definition.
+
+ Thanks to Dimitry Sibiryakov for the report.
+
2009-20-10 Aleksey Chernov <virxkane@users.sourceforge.net>
* include/sspi.h: Include ntsecapi.h to correct postgresql build error.
diff --git a/winsup/w32api/include/winbase.h b/winsup/w32api/include/winbase.h
index 3e3eee19e..2e634fc95 100644
--- a/winsup/w32api/include/winbase.h
+++ b/winsup/w32api/include/winbase.h
@@ -2013,7 +2013,7 @@ WINBASEAPI BOOL WINAPI UnlockFile(HANDLE,DWORD,DWORD,DWORD,DWORD);
WINBASEAPI BOOL WINAPI UnlockFileEx(HANDLE,DWORD,DWORD,DWORD,LPOVERLAPPED);
#define UnlockResource(h) (h)
#define UnlockSegment(w) GlobalUnfix((HANDLE)(w)) /* Obsolete: Has no effect. */
-WINBASEAPI BOOL WINAPI UnmapViewOfFile(PVOID);
+WINBASEAPI BOOL WINAPI UnmapViewOfFile(LPCVOID);
#if (_WIN32_WINNT >= 0x0500)
WINBASEAPI BOOL WINAPI UnregisterWait(HANDLE);
WINBASEAPI BOOL WINAPI UnregisterWaitEx(HANDLE,HANDLE);