diff options
Diffstat (limited to 'cpukit/score/src/schedulersimplechangepriority.c')
-rw-r--r-- | cpukit/score/src/schedulersimplechangepriority.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/score/src/schedulersimplechangepriority.c b/cpukit/score/src/schedulersimplechangepriority.c index 010f1dfc79..b8638ad28c 100644 --- a/cpukit/score/src/schedulersimplechangepriority.c +++ b/cpukit/score/src/schedulersimplechangepriority.c @@ -21,7 +21,7 @@ #include <rtems/score/schedulersimpleimpl.h> -void _Scheduler_simple_Change_priority( +Scheduler_Void_or_thread _Scheduler_simple_Change_priority( const Scheduler_Control *scheduler, Thread_Control *the_thread, Priority_Control new_priority, @@ -38,4 +38,6 @@ void _Scheduler_simple_Change_priority( } else { _Scheduler_simple_Insert_priority_fifo( &context->Ready, the_thread ); } + + SCHEDULER_RETURN_VOID_OR_NULL; } |