summaryrefslogtreecommitdiff
path: root/nuttx/sched/prctl.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-04 18:46:28 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-04 18:46:28 +0000
commit7071ca9d21d783827f93fcd25631aa2da8df8fe4 (patch)
tree1fab8982b4f2438b1b135fd6c43e7b8a8af78d48 /nuttx/sched/prctl.c
parent09afe06037de8f89b2cfa4f1765be407bf1783a2 (diff)
downloadpx4-nuttx-7071ca9d21d783827f93fcd25631aa2da8df8fe4.tar.gz
px4-nuttx-7071ca9d21d783827f93fcd25631aa2da8df8fe4.tar.bz2
px4-nuttx-7071ca9d21d783827f93fcd25631aa2da8df8fe4.zip
Rename _TCB to struct tcb_s
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5610 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/prctl.c')
-rw-r--r--nuttx/sched/prctl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/sched/prctl.c b/nuttx/sched/prctl.c
index 3db83d3d7..c4cc13c6c 100644
--- a/nuttx/sched/prctl.c
+++ b/nuttx/sched/prctl.c
@@ -1,7 +1,7 @@
/************************************************************************
* sched/prctl.c
*
- * Copyright (C) 2012 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -92,8 +92,8 @@ int prctl(int option, ...)
/* Get the prctl arguments */
FAR char *name = va_arg(ap, FAR char *);
- int pid = va_arg(ap, int);
- FAR _TCB *tcb;
+ int pid = va_arg(ap, int);
+ FAR struct tcb_s *tcb;
/* Get the TCB associated with the PID (handling the special case of
* pid==0 meaning "this thread")
@@ -101,7 +101,7 @@ int prctl(int option, ...)
if (!pid)
{
- tcb = (FAR _TCB *)g_readytorun.head;
+ tcb = (FAR struct tcb_s *)g_readytorun.head;
}
else
{