summaryrefslogtreecommitdiffstats
path: root/c/src/exec/rtems/include/rtems/rtems/tasks.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/rtems/include/rtems/rtems/tasks.h')
-rw-r--r--c/src/exec/rtems/include/rtems/rtems/tasks.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/c/src/exec/rtems/include/rtems/rtems/tasks.h b/c/src/exec/rtems/include/rtems/rtems/tasks.h
index 3627cdd627..65bf95a9c6 100644
--- a/c/src/exec/rtems/include/rtems/rtems/tasks.h
+++ b/c/src/exec/rtems/include/rtems/rtems/tasks.h
@@ -150,11 +150,11 @@ typedef struct {
* Per task variable structure
*/
-struct rtems_task_variable_t {
+typedef struct {
struct rtems_task_variable_t *next;
int *ptr;
int var;
-};
+} rtems_task_variable_t;
/*
* This is the API specific information required by each thread for
@@ -163,11 +163,11 @@ struct rtems_task_variable_t {
typedef struct {
- unsigned32 Notepads[ RTEMS_NUMBER_NOTEPADS ];
- rtems_event_set pending_events;
- rtems_event_set event_condition;
- ASR_Information Signal;
- struct rtems_task_variable_t *task_variables;
+ unsigned32 Notepads[ RTEMS_NUMBER_NOTEPADS ];
+ rtems_event_set pending_events;
+ rtems_event_set event_condition;
+ ASR_Information Signal;
+ rtems_task_variable_t *task_variables;
} RTEMS_API_Control;
/*