Commit 06e7d91b authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

kernel: Constify a formal parameter.

parent 7aa89348
......@@ -546,12 +546,10 @@ LPVOID WINAPI MapViewOfFileEx( HANDLE handle, DWORD access,
* Success: TRUE.
* Failure: FALSE.
*
* NOTES
* Should addr be an LPCVOID?
*/
BOOL WINAPI UnmapViewOfFile( LPVOID addr )
BOOL WINAPI UnmapViewOfFile( LPCVOID addr )
{
NTSTATUS status = NtUnmapViewOfSection( GetCurrentProcess(), addr );
NTSTATUS status = NtUnmapViewOfSection( GetCurrentProcess(), (void *)addr );
if (status) SetLastError( RtlNtStatusToDosError(status) );
return !status;
}
......
......@@ -2008,7 +2008,7 @@ BOOL WINAPI TzSpecificLocalTimeToSystemTime(LPTIME_ZONE_INFORMATION,LPSYS
BOOL WINAPI UnlockFile(HANDLE,DWORD,DWORD,DWORD,DWORD);
BOOL WINAPI UnlockFileEx(HANDLE,DWORD,DWORD,DWORD,LPOVERLAPPED);
#define UnlockSegment(handle) GlobalUnfix((HANDLE)(handle))
BOOL WINAPI UnmapViewOfFile(LPVOID);
BOOL WINAPI UnmapViewOfFile(LPCVOID);
BOOL WINAPI UnregisterWait(HANDLE);
BOOL WINAPI UnregisterWaitEx(HANDLE,HANDLE);
BOOL WINAPI UpdateResourceA(HANDLE,LPCSTR,LPCSTR,WORD,LPVOID,DWORD);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment