From 4e46ba8460d0d3514179dee2e4bbf17cde94e904 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 6 Dec 2018 10:49:43 +0100 Subject: rtems: Fix rtems_task_restart() argument type Close #3637. --- cpukit/include/rtems/rtems/tasks.h | 6 +++--- cpukit/rtems/src/taskrestart.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cpukit/include/rtems/rtems/tasks.h b/cpukit/include/rtems/rtems/tasks.h index 55863a9dd9..b75ec3ed50 100644 --- a/cpukit/include/rtems/rtems/tasks.h +++ b/cpukit/include/rtems/rtems/tasks.h @@ -238,13 +238,13 @@ rtems_status_code rtems_task_mode( * point with the new argument. * * @param[in] id is the thread id - * @param[in] arg is the thread argument + * @param[in] argument is the thread argument * * @retval RTEMS_SUCCESSFUL if successful or error code if unsuccessful */ rtems_status_code rtems_task_restart( - rtems_id id, - uint32_t arg + rtems_id id, + rtems_task_argument argument ); /** diff --git a/cpukit/rtems/src/taskrestart.c b/cpukit/rtems/src/taskrestart.c index 9070fe4d0d..e110bb332b 100644 --- a/cpukit/rtems/src/taskrestart.c +++ b/cpukit/rtems/src/taskrestart.c @@ -22,8 +22,8 @@ #include rtems_status_code rtems_task_restart( - rtems_id id, - uint32_t argument + rtems_id id, + rtems_task_argument argument ) { Thread_Control *the_thread; -- cgit v1.2.3