rtems: Fix rtems_task_restart() argument type

Close #3637.
This commit is contained in:
Sebastian Huber
2018-12-06 10:49:43 +01:00
parent bf135a97a1
commit 4e46ba8460
2 changed files with 5 additions and 5 deletions

View File

@@ -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
);
/**

View File

@@ -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;