From 4d1f391529eca1f4484c8052671a7bc8418fe24e Mon Sep 17 00:00:00 2001 From: Florian Krohm Date: Sun, 14 Oct 2012 02:58:42 +0000 Subject: [PATCH] Fix compile errors following function prototype change. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13040 --- drd/tests/unit_bitmap.c | 4 ++-- drd/tests/unit_vc.c | 4 ++-- none/tests/valgrind_cpp_test.cpp | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drd/tests/unit_bitmap.c b/drd/tests/unit_bitmap.c index 6de61acdb..29892e47c 100644 --- a/drd/tests/unit_bitmap.c +++ b/drd/tests/unit_bitmap.c @@ -28,8 +28,8 @@ void* VG_(malloc)(HChar* cc, SizeT nbytes) { 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, diff --git a/drd/tests/unit_vc.c b/drd/tests/unit_vc.c index 353ce4b3a..d9d9bb5dd 100644 --- a/drd/tests/unit_vc.c +++ b/drd/tests/unit_vc.c @@ -16,8 +16,8 @@ void* VG_(realloc)(HChar* cc, void* p, SizeT size) { 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, diff --git a/none/tests/valgrind_cpp_test.cpp b/none/tests/valgrind_cpp_test.cpp index 41a522b5e..5328829fb 100644 --- a/none/tests/valgrind_cpp_test.cpp +++ b/none/tests/valgrind_cpp_test.cpp @@ -40,8 +40,8 @@ int main(int argc, char** argv) 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(); }