Module: wine Branch: master Commit: 7c7fa1051c31b93729c5d299a96b9ee8d83be312 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7c7fa1051c31b93729c5d299a9...
Author: Michael Stefaniuc mstefani@redhat.de Date: Tue Sep 24 12:25:02 2013 +0200
user32: Avoid using CONST.
---
dlls/user32/dde_misc.c | 2 +- dlls/user32/message.c | 4 ++-- dlls/user32/tests/resource.c | 2 +- dlls/user32/winproc.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dlls/user32/dde_misc.c b/dlls/user32/dde_misc.c index 724c074..ddbfa86 100644 --- a/dlls/user32/dde_misc.c +++ b/dlls/user32/dde_misc.c @@ -241,7 +241,7 @@ BOOL WINAPI ImpersonateDdeClientWindow(HWND hWndClient, HWND hWndServer) * DdeSetQualityOfService (USER32.@) */
-BOOL WINAPI DdeSetQualityOfService(HWND hwndClient, CONST SECURITY_QUALITY_OF_SERVICE *pqosNew, +BOOL WINAPI DdeSetQualityOfService(HWND hwndClient, const SECURITY_QUALITY_OF_SERVICE *pqosNew, PSECURITY_QUALITY_OF_SERVICE pqosPrev) { FIXME("(%p %p %p): stub\n", hwndClient, pqosNew, pqosPrev); diff --git a/dlls/user32/message.c b/dlls/user32/message.c index 27e3441..b6720fb 100644 --- a/dlls/user32/message.c +++ b/dlls/user32/message.c @@ -4080,7 +4080,7 @@ BOOL WINAPI WaitMessage(void) /*********************************************************************** * MsgWaitForMultipleObjectsEx (USER32.@) */ -DWORD WINAPI MsgWaitForMultipleObjectsEx( DWORD count, CONST HANDLE *pHandles, +DWORD WINAPI MsgWaitForMultipleObjectsEx( DWORD count, const HANDLE *pHandles, DWORD timeout, DWORD mask, DWORD flags ) { HANDLE handles[MAXIMUM_WAIT_OBJECTS]; @@ -4114,7 +4114,7 @@ DWORD WINAPI MsgWaitForMultipleObjectsEx( DWORD count, CONST HANDLE *pHandles, /*********************************************************************** * MsgWaitForMultipleObjects (USER32.@) */ -DWORD WINAPI MsgWaitForMultipleObjects( DWORD count, CONST HANDLE *handles, +DWORD WINAPI MsgWaitForMultipleObjects( DWORD count, const HANDLE *handles, BOOL wait_all, DWORD timeout, DWORD mask ) { return MsgWaitForMultipleObjectsEx( count, handles, timeout, mask, diff --git a/dlls/user32/tests/resource.c b/dlls/user32/tests/resource.c index 346cc2a..6b89ef7 100644 --- a/dlls/user32/tests/resource.c +++ b/dlls/user32/tests/resource.c @@ -331,7 +331,7 @@ static void test_accel2(void) }
static void test_PrivateExtractIcons(void) { - CONST CHAR szShell32Dll[] = "shell32.dll"; + const CHAR szShell32Dll[] = "shell32.dll"; HICON ahIcon[256]; UINT aIconId[256]; UINT cIcons, cIcons2; diff --git a/dlls/user32/winproc.c b/dlls/user32/winproc.c index ebccbe4..57adfc2 100644 --- a/dlls/user32/winproc.c +++ b/dlls/user32/winproc.c @@ -1122,7 +1122,7 @@ static LRESULT WINAPI StaticWndProcW( HWND hwnd, UINT msg, WPARAM wParam, LPARAM return wow_handlers.static_proc( hwnd, msg, wParam, lParam, TRUE ); }
-static DWORD wait_message( DWORD count, CONST HANDLE *handles, DWORD timeout, DWORD mask, DWORD flags ) +static DWORD wait_message( DWORD count, const HANDLE *handles, DWORD timeout, DWORD mask, DWORD flags ) { DWORD ret = USER_Driver->pMsgWaitForMultipleObjectsEx( count, handles, timeout, mask, flags ); if (ret == WAIT_TIMEOUT && !count && !timeout) NtYieldExecution();