summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-12-06 10:49:43 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-12-06 10:50:40 +0100
commit4e46ba8460d0d3514179dee2e4bbf17cde94e904 (patch)
tree2407cd2c1dbc5e807767800a72c09126a061d5f2
parentPOSIX Compliance Signature Test for glob.h (GCI 2018) (diff)
downloadrtems-4e46ba8460d0d3514179dee2e4bbf17cde94e904.tar.bz2
rtems: Fix rtems_task_restart() argument type
Close #3637.
-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;