]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Delete VG_(sigaltstack) and VG_(sigpending) as they are unused.
authorJulian Seward <jseward@acm.org>
Wed, 29 Mar 2006 03:15:25 +0000 (03:15 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 29 Mar 2006 03:15:25 +0000 (03:15 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5799

coregrind/m_libcsignal.c
include/pub_tool_libcsignal.h

index 4810da308ce0e06b99a1d330c3dfb5c413c32432..4e812341067c61b1926e407097162c8aabe94642 100644 (file)
@@ -163,12 +163,6 @@ Int VG_(sigaction) ( Int signum, const struct vki_sigaction* act,
 }
 
 
-Int VG_(sigaltstack)( const vki_stack_t* ss, vki_stack_t* oss )
-{
-   SysRes res = VG_(do_syscall2)(__NR_sigaltstack, (UWord)ss, (UWord)oss);
-   return res.isError ? -1 : 0;
-}
-
 Int VG_(sigtimedwait)( const vki_sigset_t *set, vki_siginfo_t *info, 
                        const struct vki_timespec *timeout )
 {
@@ -218,20 +212,6 @@ Int VG_(tkill)( ThreadId tid, Int signo )
    return res.isError ? -1 : 0;
 }
 
-Int VG_(sigpending) ( vki_sigset_t* set )
-{
-// Nb: AMD64/Linux doesn't have __NR_sigpending;  it only provides
-// __NR_rt_sigpending.  This function will have to be abstracted in some
-// way to account for this.  In the meantime, the easy option is to forget
-// about it for AMD64 until it's needed.
-#if defined(VGA_amd64)
-   I_die_here;
-#else
-   SysRes res = VG_(do_syscall1)(__NR_sigpending, (UWord)set);
-   return res.isError ? -1 : 0;
-#endif
-}
-
 /*--------------------------------------------------------------------*/
 /*--- end                                                          ---*/
 /*--------------------------------------------------------------------*/
index 8463bb3ef7e19a0446cceafc5dcbea0737b7ffc0..1a222d9d5e81e8e2facef69814ecc4a75b4b0b60 100644 (file)
@@ -63,11 +63,9 @@ extern Int VG_(sigtimedwait)( const vki_sigset_t *, vki_siginfo_t *,
                              const struct vki_timespec * );
 
 extern Int VG_(signal)      ( Int signum, void (*sighandler)(Int) );
-extern Int VG_(sigaltstack) ( const vki_stack_t* ss, vki_stack_t* oss );
 
 extern Int VG_(kill)        ( Int pid, Int signo );
 extern Int VG_(tkill)       ( ThreadId tid, Int signo );
-extern Int VG_(sigpending)  ( vki_sigset_t* set );
 
 #endif   // __PUB_TOOL_LIBCBSIGNAL_H