From: Nicholas Nethercote Date: Wed, 14 May 2003 09:11:53 +0000 (+0000) Subject: wibble X-Git-Tag: svn/VALGRIND_2_0_0~153 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d7f0b75201a79163ca460c3d4a26ff8a334b8b25;p=thirdparty%2Fvalgrind.git wibble git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1631 --- diff --git a/coregrind/vg_memory.c b/coregrind/vg_memory.c index d004242028..4e89cc5752 100644 --- a/coregrind/vg_memory.c +++ b/coregrind/vg_memory.c @@ -96,7 +96,7 @@ static void add_exe_segment_to_list( Addr a, UInt len ) } } -static Bool remove_if_exe_segment_from_list( Addr a, UInt len ) +static Bool remove_if_exe_segment_from_list( Addr a ) { ExeSeg **prev_next_ptr = & exeSegsHead, *curr = exeSegsHead; @@ -139,7 +139,7 @@ void VG_(new_exe_segment) ( Addr a, UInt len ) // comment above vg_syscalls.c:mmap_segment() et al for more details. void VG_(remove_if_exe_segment) ( Addr a, UInt len ) { - if (remove_if_exe_segment_from_list( a, len )) { + if (remove_if_exe_segment_from_list( a )) { VG_(invalidate_translations) ( a, len, False ); VG_(maybe_unload_symbols) ( a, len ); }