diff options
Diffstat (limited to 'cpukit/score/src/schedulerpriorityyield.c')
-rw-r--r-- | cpukit/score/src/schedulerpriorityyield.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/score/src/schedulerpriorityyield.c b/cpukit/score/src/schedulerpriorityyield.c index de4b842513..2ee2d03057 100644 --- a/cpukit/score/src/schedulerpriorityyield.c +++ b/cpukit/score/src/schedulerpriorityyield.c @@ -21,7 +21,7 @@ #include <rtems/score/schedulerpriorityimpl.h> #include <rtems/score/threadimpl.h> -void _Scheduler_priority_Yield( +Scheduler_Void_or_thread _Scheduler_priority_Yield( const Scheduler_Control *scheduler, Thread_Control *the_thread ) @@ -43,4 +43,6 @@ void _Scheduler_priority_Yield( } else if ( !_Thread_Is_heir( the_thread ) ) { _Thread_Dispatch_necessary = true; } + + SCHEDULER_RETURN_VOID_OR_NULL; } |