summaryrefslogtreecommitdiffstats
path: root/c/src/exec/rtems/src/taskvariableadd.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/rtems/src/taskvariableadd.c')
-rw-r--r--c/src/exec/rtems/src/taskvariableadd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/exec/rtems/src/taskvariableadd.c b/c/src/exec/rtems/src/taskvariableadd.c
index b3649ec8c3..1bc38bdf46 100644
--- a/c/src/exec/rtems/src/taskvariableadd.c
+++ b/c/src/exec/rtems/src/taskvariableadd.c
@@ -67,8 +67,8 @@ rtems_status_code rtems_task_variable_add(
* Now allocate memory for this task variable.
*/
- new = (struct rtems_task_variable_t *)
- _Workspace_Allocate(sizeof(struct rtems_task_variable_t));
+ new = (rtems_task_variable_t *)
+ _Workspace_Allocate(sizeof(rtems_task_variable_t));
if (new == NULL) {
_Thread_Enable_dispatch();
return RTEMS_NO_MEMORY;