]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Remove dead function VG_(exit_single)().
authorNicholas Nethercote <njn@valgrind.org>
Sun, 8 May 2005 02:13:47 +0000 (02:13 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Sun, 8 May 2005 02:13:47 +0000 (02:13 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3633

coregrind/vg_mylibc.c
include/tool.h.base

index 57ff81103088768a92179e1c8fb802d0d2a5c5eb..ca16b866a998cbe7b212e2a937b1f295f23cbc52 100644 (file)
@@ -358,16 +358,6 @@ Int VG_(mprotect_native)( void *start, SizeT length, UInt prot )
    return VG_(is_kerror)(res) ? -1 : 0;
 }
 
-/* Terminate this single thread */
-void VG_(exit_single)( Int status )
-{
-   (void)VG_(do_syscall1)(__NR_exit, status );
-   /* Why are we still alive here? */
-   /*NOTREACHED*/
-   *(volatile Int *)0 = 'x';
-   vg_assert(2+2 == 5);
-}
-
 /* Pull down the entire world */
 void VG_(exit)( Int status )
 {
index 7d4b168d7f6e199abcbd20545556f56d93b592a7..e8998088805d116914bb1111b42527d90b4df45e 100644 (file)
@@ -333,10 +333,6 @@ extern void* VG_(realloc)        ( void* p, SizeT size );
 extern void VG_(exit)( Int status )
             __attribute__ ((__noreturn__));
 
-/* terminate the calling thread - probably not what you want */
-extern void  VG_(exit_single)( Int status )
-             __attribute__ ((__noreturn__));
-
 /* Prints a panic message (a constant string), appends newline and bug
    reporting info, aborts. */
 __attribute__ ((__noreturn__))