diff options
author | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2009-11-21 00:38:55 +0000 |
---|---|---|
committer | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2009-11-21 00:38:55 +0000 |
commit | 67779b719c8fe38ac9507ed6523ed29ed7095897 (patch) | |
tree | 751d46d90d35a7e46b0139fb9233617c16051c1e /winsup | |
parent | 626e7233d95240ab524e27f2279f1502e71547d0 (diff) | |
download | newlib-67779b719c8fe38ac9507ed6523ed29ed7095897.zip newlib-67779b719c8fe38ac9507ed6523ed29ed7095897.tar.gz newlib-67779b719c8fe38ac9507ed6523ed29ed7095897.tar.bz2 |
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')
-rw-r--r-- | winsup/w32api/ChangeLog | 6 | ||||
-rw-r--r-- | winsup/w32api/include/winbase.h | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 50e91c9..3344486 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 3e3eee1..2e634fc 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); |