Author: gadamopoulos
Date: Sat Sep 24 12:05:14 2011
New Revision: 53832
URL:
http://svn.reactos.org/svn/reactos?rev=53832&view=rev
Log:
[user32_apitest.exe]
- Fix gcc build
Modified:
trunk/rostests/apitests/user32/helper.c
trunk/rostests/apitests/user32/helper.h
Modified: trunk/rostests/apitests/user32/helper.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/user32/helper.c?…
==============================================================================
--- trunk/rostests/apitests/user32/helper.c [iso-8859-1] (original)
+++ trunk/rostests/apitests/user32/helper.c [iso-8859-1] Sat Sep 24 12:05:14 2011
@@ -93,6 +93,8 @@
msgName = NULL;
msgType = "event";
break;
+ default:
+ return;
}
if(msgName)
Modified: trunk/rostests/apitests/user32/helper.h
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/user32/helper.h?…
==============================================================================
--- trunk/rostests/apitests/user32/helper.h [iso-8859-1] (original)
+++ trunk/rostests/apitests/user32/helper.h [iso-8859-1] Sat Sep 24 12:05:14 2011
@@ -23,7 +23,7 @@
ATOM RegisterSimpleClass(WNDPROC lpfnWndProc, LPCWSTR lpszClassName);
/* filter messages that are affected by dwm */
-static _inline BOOL IsDWmMsg(UINT msg)
+static inline BOOL IsDWmMsg(UINT msg)
{
switch(msg)
{
@@ -36,7 +36,7 @@
return FALSE;
}
-static _inline BOOL IseKeyMsg(UINT msg)
+static inline BOOL IseKeyMsg(UINT msg)
{
return (msg == WM_KEYUP || msg == WM_KEYDOWN);
}