summaryrefslogtreecommitdiff
path: root/nuttx/sched/pthread_setcancelstate.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-01-30 21:59:12 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-01-30 21:59:12 +0000
commit6706284921ae317e32f5e391d401f8eaa3d6e3a5 (patch)
tree24bf36306b92e1b6f6b01c4acdec3e7abeae9f2c /nuttx/sched/pthread_setcancelstate.c
parent013eef130f1bc2cab1e3f4022d8498fb98bb29bf (diff)
downloadpx4-nuttx-6706284921ae317e32f5e391d401f8eaa3d6e3a5.tar.gz
px4-nuttx-6706284921ae317e32f5e391d401f8eaa3d6e3a5.tar.bz2
px4-nuttx-6706284921ae317e32f5e391d401f8eaa3d6e3a5.zip
Fix z16f addressing issues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@592 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/pthread_setcancelstate.c')
-rw-r--r--nuttx/sched/pthread_setcancelstate.c42
1 files changed, 21 insertions, 21 deletions
diff --git a/nuttx/sched/pthread_setcancelstate.c b/nuttx/sched/pthread_setcancelstate.c
index 4a23b1068..eaa754174 100644
--- a/nuttx/sched/pthread_setcancelstate.c
+++ b/nuttx/sched/pthread_setcancelstate.c
@@ -1,7 +1,7 @@
-/**************************************************************************
+/******************************************************************************************
* pthread_setcancelstate.c
*
- * Copyright (C) 2007 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -31,45 +31,45 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
- **************************************************************************/
+ ******************************************************************************************/
-/**************************************************************************
+/******************************************************************************************
* Included Files
- **************************************************************************/
+ ******************************************************************************************/
#include <pthread.h>
#include <errno.h>
#include "os_internal.h"
-/**************************************************************************
+/******************************************************************************************
* Private Definitions
- **************************************************************************/
+ ******************************************************************************************/
-/**************************************************************************
+/******************************************************************************************
* Private Types
- **************************************************************************/
+ ******************************************************************************************/
-/**************************************************************************
+/******************************************************************************************
* Private Function Prototypes
- **************************************************************************/
+ ******************************************************************************************/
-/**************************************************************************
+/******************************************************************************************
* Global Variables
- **************************************************************************/
+ ******************************************************************************************/
-/**************************************************************************
+/******************************************************************************************
* Private Variables
- **************************************************************************/
+ ******************************************************************************************/
-/**************************************************************************
+/******************************************************************************************
* Private Functions
- **************************************************************************/
+ ******************************************************************************************/
-/**************************************************************************
+/******************************************************************************************
* Public Functions
- **************************************************************************/
+ ******************************************************************************************/
-int pthread_setcancelstate(int state, int *oldstate)
+int pthread_setcancelstate(int state, FAR int *oldstate)
{
_TCB *tcb = (_TCB*)g_readytorun.head;
int ret = OK;