diff options
author | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2006-03-29 03:15:25 +0000 |
---|---|---|
committer | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2006-03-29 03:15:25 +0000 |
commit | 5bb61fe68ee37d3be2648b1291c00f7e3664e1d5 (patch) | |
tree | 4253d2ac7374f2200017b3631e9973895fe3bc5f /coregrind/m_libcsignal.c | |
parent | 4c9ab670f5713156bb46ff7d8b1f908135914a97 (diff) |
Delete VG_(sigaltstack) and VG_(sigpending) as they are unused.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5799 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'coregrind/m_libcsignal.c')
-rw-r--r-- | coregrind/m_libcsignal.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/coregrind/m_libcsignal.c b/coregrind/m_libcsignal.c index 4810da30..4e812341 100644 --- a/coregrind/m_libcsignal.c +++ b/coregrind/m_libcsignal.c @@ -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 ---*/ /*--------------------------------------------------------------------*/ |