summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/corerwlockobtainread.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/corerwlockobtainread.c')
-rw-r--r--cpukit/score/src/corerwlockobtainread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/corerwlockobtainread.c b/cpukit/score/src/corerwlockobtainread.c
index 8c13f53465..2447360636 100644
--- a/cpukit/score/src/corerwlockobtainread.c
+++ b/cpukit/score/src/corerwlockobtainread.c
@@ -26,6 +26,7 @@
void _CORE_RWLock_Obtain_for_reading(
CORE_RWLock_Control *the_rwlock,
+ Thread_Control *executing,
Objects_Id id,
bool wait,
Watchdog_Interval timeout,
@@ -33,7 +34,6 @@ void _CORE_RWLock_Obtain_for_reading(
)
{
ISR_Level level;
- Thread_Control *executing = _Thread_Executing;
/*
* If unlocked, then OK to read.