comctl32/tests: Specify type of function argument and remove unused arguments.

Michael Stefaniuc mstefani at redhat.de
Mon Oct 23 08:32:38 CDT 2006


Hello,

as hWnd and wParam were unused i have removed those arguments instead of
adding types to them too.

bye
	michael

---
 dlls/comctl32/tests/toolbar.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/comctl32/tests/toolbar.c b/dlls/comctl32/tests/toolbar.c
index 217874d..7b9697e 100644
--- a/dlls/comctl32/tests/toolbar.c
+++ b/dlls/comctl32/tests/toolbar.c
@@ -48,7 +48,7 @@ static void MakeButton(TBBUTTON *p, int 
   p->iString = nString;
 }
 
-LRESULT MyWnd_Notify(hWnd, wParam, lParam)
+static LRESULT MyWnd_Notify(LPARAM lParam)
 {
     NMHDR *hdr = (NMHDR *)lParam;
     NMTBHOTITEM *nmhi;
@@ -74,7 +74,7 @@ static LRESULT CALLBACK MyWndProc(HWND h
     switch (msg)
     {
         case WM_NOTIFY:
-            return MyWnd_Notify(hWnd, wParam, lParam);
+            return MyWnd_Notify(lParam);
     }
     return DefWindowProcA(hWnd, msg, wParam, lParam);
 }
-- 
1.4.2.3


-- 
Michael Stefaniuc               Tel.: +49-711-96437-199
Sr. Network Engineer            Fax.: +49-711-96437-111
Red Hat GmbH                    Email: mstefani at redhat.com
Hauptstaetterstr. 58            http://www.redhat.de/
D-70178 Stuttgart
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061023/84fc30c4/attachment.pgp


More information about the wine-patches mailing list