From: Bart Van Assche Date: Sun, 26 Apr 2009 07:15:58 +0000 (+0000) Subject: Fixed compiler warnings triggered by the test programs that include both and "pub_tool_oset.h". git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9634 --- diff --git a/include/pub_tool_oset.h b/include/pub_tool_oset.h index 7706402da6..687d34fd27 100644 --- a/include/pub_tool_oset.h +++ b/include/pub_tool_oset.h @@ -99,7 +99,7 @@ typedef void (*OSetFree_t) ( void* p ); // called. extern OSet* VG_(OSetWord_Create) ( OSetAlloc_t alloc, HChar* ec, - OSetFree_t free ); + OSetFree_t _free ); extern void VG_(OSetWord_Destroy) ( OSet* os ); /*--------------------------------------------------------------------*/ @@ -185,7 +185,7 @@ extern Bool VG_(OSetWord_Next) ( OSet* os, /*OUT*/UWord* val ); extern OSet* VG_(OSetGen_Create) ( PtrdiffT keyOff, OSetCmp_t cmp, OSetAlloc_t alloc, HChar* ec, - OSetFree_t free ); + OSetFree_t _free ); extern void VG_(OSetGen_Destroy) ( OSet* os ); extern void* VG_(OSetGen_AllocNode) ( OSet* os, SizeT elemSize ); extern void VG_(OSetGen_FreeNode) ( OSet* os, void* elem );