]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
wibble
authorNicholas Nethercote <njn@valgrind.org>
Wed, 14 May 2003 09:11:53 +0000 (09:11 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Wed, 14 May 2003 09:11:53 +0000 (09:11 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1631

coregrind/vg_memory.c

index d004242028c0ae5cdc8a472c6b59ae418e81bc6c..4e89cc5752bcf106768c0af4eb2d37ec5a428cd5 100644 (file)
@@ -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 );
    }