summaryrefslogtreecommitdiff
path: root/nuttx/sched/mq_open.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/mq_open.c')
-rw-r--r--nuttx/sched/mq_open.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/sched/mq_open.c b/nuttx/sched/mq_open.c
index 89d80f072..64c8389b1 100644
--- a/nuttx/sched/mq_open.c
+++ b/nuttx/sched/mq_open.c
@@ -109,12 +109,12 @@
mqd_t mq_open(const char *mq_name, int oflags, ...)
{
- FAR _TCB *rtcb = (FAR _TCB*)g_readytorun.head;
- FAR msgq_t *msgq;
- mqd_t mqdes = NULL;
- va_list arg; /* Points to each un-named argument */
+ FAR struct tcb_s *rtcb = (FAR struct tcb_s*)g_readytorun.head;
+ FAR msgq_t *msgq;
+ mqd_t mqdes = NULL;
+ va_list arg; /* Points to each un-named argument */
struct mq_attr *attr; /* MQ creation attributes */
- int namelen; /* Length of MQ name */
+ int namelen; /* Length of MQ name */
/* Make sure that a non-NULL name is supplied */