summaryrefslogtreecommitdiff
path: root/coregrind/m_scheduler
diff options
context:
space:
mode:
authornjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2009-02-24 03:07:37 +0000
committernjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2009-02-24 03:07:37 +0000
commit1dcee097db02f9ef3ba355162c4373d90d0e895c (patch)
tree74de20391d98bb4ba016edb4f15a1db89d2b55a3 /coregrind/m_scheduler
parent28be7aa98aa59ebc0d93bbe328e3b677bc742752 (diff)
Remove a number of unused parameters, found with -Wunused-parameter.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9248 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'coregrind/m_scheduler')
-rw-r--r--coregrind/m_scheduler/scheduler.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/coregrind/m_scheduler/scheduler.c b/coregrind/m_scheduler/scheduler.c
index 7176f30f..bcfd53a6 100644
--- a/coregrind/m_scheduler/scheduler.c
+++ b/coregrind/m_scheduler/scheduler.c
@@ -332,7 +332,7 @@ void VG_(vg_yield)(void)
/* Set the standard set of blocked signals, used whenever we're not
running a client syscall. */
-static void block_signals(ThreadId tid)
+static void block_signals(void)
{
vki_sigset_t mask;
@@ -682,7 +682,7 @@ static UInt run_thread_for_a_while ( ThreadId tid )
handler to longjmp. */
vg_assert(trc == 0);
trc = VG_TRC_FAULT_SIGNAL;
- block_signals(tid);
+ block_signals();
}
done_this_time = (Int)dispatch_ctr_SAVED - (Int)VG_(dispatch_ctr) - 0;
@@ -758,7 +758,7 @@ static UInt run_noredir_translation ( Addr hcode, ThreadId tid )
handler to longjmp. */
vg_assert(argblock[2] == 0); /* next guest IP was not written */
vg_assert(argblock[3] == 0); /* trc was not written */
- block_signals(tid);
+ block_signals();
retval = VG_TRC_FAULT_SIGNAL;
} else {
/* store away the guest program counter */
@@ -832,7 +832,7 @@ static void handle_syscall(ThreadId tid)
vg_assert(VG_(is_running_thread)(tid));
if (jumped) {
- block_signals(tid);
+ block_signals();
VG_(poll_signals)(tid);
}
}
@@ -888,7 +888,7 @@ VgSchedReturnCode VG_(scheduler) ( ThreadId tid )
print_sched_event(tid, "entering VG_(scheduler)");
/* set the proper running signal mask */
- block_signals(tid);
+ block_signals();
vg_assert(VG_(is_running_thread)(tid));