summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/include/rtems/rtems/tasks.h6
-rw-r--r--cpukit/rtems/src/taskrestart.c4
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/score/threadimpl.h>
rtems_status_code rtems_task_restart(
- rtems_id id,
- uint32_t argument
+ rtems_id id,
+ rtems_task_argument argument
)
{
Thread_Control *the_thread;