From eae2f4ee815b7b62b710b87ce628fc388d46c6ff Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Wed, 16 Mar 2011 10:44:13 +0000 Subject: [PATCH] Fix compile warnings (missing prototypes for malloc, or some such). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11645 --- helgrind/tests/tc23_bogus_condwait.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helgrind/tests/tc23_bogus_condwait.c b/helgrind/tests/tc23_bogus_condwait.c index aab6f89c32..a13632ce22 100644 --- a/helgrind/tests/tc23_bogus_condwait.c +++ b/helgrind/tests/tc23_bogus_condwait.c @@ -6,6 +6,7 @@ #include #include #include +#include pthread_mutex_t mx[4]; pthread_cond_t cv; pthread_rwlock_t rwl; @@ -34,7 +35,6 @@ void* rescue_me ( void* uu ) my_sem_wait( quit_now ); return NULL; } - void* grab_the_lock ( void* uu ) { int r= pthread_mutex_lock( &mx[2] ); assert(!r); -- 2.47.2