Author: rharabien
Date: Mon May 30 11:40:58 2011
New Revision: 52006

URL: http://svn.reactos.org/svn/reactos?rev=52006&view=rev
Log:
[ROSTESTS]
- Declare functions with 0 arguments using VOID keyword. In C it matters
- Add imagehlp winetest to CMake build

Added:
    trunk/rostests/winetests/imagehlp/CMakeLists.txt   (with props)
Modified:
    trunk/rostests/apitests/w32knapi/w32knapi.h
    trunk/rostests/drivers/kmtest/kmtest.h
    trunk/rostests/dxtest/win32kdxtest/test.h
    trunk/rostests/tests/DxHalTest/main.h
    trunk/rostests/winetests/CMakeLists.txt

Modified: trunk/rostests/apitests/w32knapi/w32knapi.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/w32knapi/w32knapi.h?rev=52006&r1=52005&r2=52006&view=diff
==============================================================================
--- trunk/rostests/apitests/w32knapi/w32knapi.h [iso-8859-1] (original)
+++ trunk/rostests/apitests/w32knapi/w32knapi.h [iso-8859-1] Mon May 30 
11:40:58 2011
@@ -40,7 +40,7 @@
 BOOL IsHandleValid(HGDIOBJ hobj);
 PVOID GetHandleUserData(HGDIOBJ hobj);
 DWORD Syscall(LPWSTR lpszFunction, int cParams, void* pParams);
-BOOL InitOsVersion();
+BOOL InitOsVersion(VOID);
 extern UINT g_OsIdx;
 
 typedef UINT ASPI[5];

Modified: trunk/rostests/drivers/kmtest/kmtest.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/rostests/drivers/kmtest/kmtest.h?rev=52006&r1=52005&r2=52006&view=diff
==============================================================================
--- trunk/rostests/drivers/kmtest/kmtest.h [iso-8859-1] (original)
+++ trunk/rostests/drivers/kmtest/kmtest.h [iso-8859-1] Mon May 30 11:40:58 2011
@@ -29,7 +29,7 @@
 
 extern tls_data glob_data;
 
-VOID StartTest();
+VOID StartTest(VOID);
 VOID FinishTest(HANDLE KeyHandle, LPWSTR TestName);
 void kmtest_set_location(const char* file, int line);
 

Modified: trunk/rostests/dxtest/win32kdxtest/test.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/rostests/dxtest/win32kdxtest/test.h?rev=52006&r1=52005&r2=52006&view=diff
==============================================================================
--- trunk/rostests/dxtest/win32kdxtest/test.h [iso-8859-1] (original)
+++ trunk/rostests/dxtest/win32kdxtest/test.h [iso-8859-1] Mon May 30 11:40:58 
2011
@@ -1,8 +1,8 @@
 
 
-HANDLE test_NtGdiDdCreateDirectDrawObject();
+HANDLE test_NtGdiDdCreateDirectDrawObject(void);
 void test_NtGdiDdDeleteDirectDrawObject(HANDLE hDirectDrawLocal);
-void test_NtGdiDdQueryDirectDrawObject( HANDLE hDirectDrawLocal);
+void test_NtGdiDdQueryDirectDrawObject(HANDLE hDirectDrawLocal);
 void test_NtGdiDdGetScanLine(HANDLE hDirectDrawLocal);
 void test_NtGdiDdWaitForVerticalBlank(HANDLE hDirectDrawLocal);
 void test_NtGdiDdCanCreateSurface(HANDLE hDirectDrawLocal);

Modified: trunk/rostests/tests/DxHalTest/main.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/rostests/tests/DxHalTest/main.h?rev=52006&r1=52005&r2=52006&view=diff
==============================================================================
--- trunk/rostests/tests/DxHalTest/main.h [iso-8859-1] (original)
+++ trunk/rostests/tests/DxHalTest/main.h [iso-8859-1] Mon May 30 11:40:58 2011
@@ -3,7 +3,7 @@
 #include <d3dhal.h>
 
 
-int StartupHAL ();
+int StartupHAL (VOID);
 extern HDC hdc;
 extern   DDRAWI_DIRECTDRAW_GBL mDDrawGlobal;
   extern DDRAWI_DIRECTDRAW_LCL mDDrawLocal;

Modified: trunk/rostests/winetests/CMakeLists.txt
URL: 
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/CMakeLists.txt?rev=52006&r1=52005&r2=52006&view=diff
==============================================================================
--- trunk/rostests/winetests/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/rostests/winetests/CMakeLists.txt [iso-8859-1] Mon May 30 11:40:58 
2011
@@ -22,6 +22,7 @@
 add_subdirectory(gdiplus)
 add_subdirectory(hlink)
 add_subdirectory(icmp)
+add_subdirectory(imagehlp)
 add_subdirectory(imm32)
 add_subdirectory(inetcomm)
 add_subdirectory(inetmib1)

Added: trunk/rostests/winetests/imagehlp/CMakeLists.txt
URL: 
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/imagehlp/CMakeLists.txt?rev=52006&view=auto
==============================================================================
--- trunk/rostests/winetests/imagehlp/CMakeLists.txt (added)
+++ trunk/rostests/winetests/imagehlp/CMakeLists.txt [iso-8859-1] Mon May 30 
11:40:58 2011
@@ -1,0 +1,15 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    image.c
+    integrity.c
+    testlist.c)
+
+add_executable(imagehlp_winetest ${SOURCE})
+target_link_libraries(imagehlp_winetest wine uuid)
+set_module_type(imagehlp_winetest win32cui)
+add_importlibs(imagehlp_winetest advapi32 msvcrt kernel32 ntdll)
+add_cd_file(TARGET imagehlp_winetest DESTINATION reactos/bin FOR all)

Propchange: trunk/rostests/winetests/imagehlp/CMakeLists.txt
------------------------------------------------------------------------------
    svn:eol-style = native


Reply via email to