|
From: <sv...@va...> - 2012-10-14 02:59:16
|
florian 2012-10-14 03:58:42 +0100 (Sun, 14 Oct 2012)
New Revision: 13040
Log:
Fix compile errors following function prototype change.
Modified files:
trunk/drd/tests/unit_bitmap.c
trunk/drd/tests/unit_vc.c
trunk/none/tests/valgrind_cpp_test.cpp
Modified: trunk/drd/tests/unit_bitmap.c (+2 -2)
===================================================================
--- trunk/drd/tests/unit_bitmap.c 2012-10-14 01:16:28 +01:00 (rev 13039)
+++ trunk/drd/tests/unit_bitmap.c 2012-10-14 03:58:42 +01:00 (rev 13040)
@@ -28,8 +28,8 @@
{ return malloc(nbytes); }
void VG_(free)(void* p)
{ return free(p); }
-void VG_(assert_fail)(Bool isCore, const Char* assertion, const Char* file,
- Int line, const Char* function, const HChar* format,
+void VG_(assert_fail)(Bool isCore, const HChar* assertion, const HChar* file,
+ Int line, const HChar* function, const HChar* format,
...)
{
fprintf(stderr,
Modified: trunk/none/tests/valgrind_cpp_test.cpp (+2 -2)
===================================================================
--- trunk/none/tests/valgrind_cpp_test.cpp 2012-10-14 01:16:28 +01:00 (rev 13039)
+++ trunk/none/tests/valgrind_cpp_test.cpp 2012-10-14 03:58:42 +01:00 (rev 13040)
@@ -40,8 +40,8 @@
return 0;
}
-void VG_(assert_fail)(Bool isCore, const Char* expr, const Char* file,
- Int line, const Char* fn, const HChar* format, ... )
+void VG_(assert_fail)(Bool isCore, const HChar* expr, const HChar* file,
+ Int line, const HChar* fn, const HChar* format, ... )
{
abort();
}
Modified: trunk/drd/tests/unit_vc.c (+2 -2)
===================================================================
--- trunk/drd/tests/unit_vc.c 2012-10-14 01:16:28 +01:00 (rev 13039)
+++ trunk/drd/tests/unit_vc.c 2012-10-14 03:58:42 +01:00 (rev 13040)
@@ -16,8 +16,8 @@
{ return realloc(p, size); }
void VG_(free)(void* p)
{ return free(p); }
-void VG_(assert_fail)(Bool isCore, const Char* assertion, const Char* file,
- Int line, const Char* function, const HChar* format,
+void VG_(assert_fail)(Bool isCore, const HChar* assertion, const HChar* file,
+ Int line, const HChar* function, const HChar* format,
...)
{
fprintf(stderr,
|