summaryrefslogtreecommitdiff
path: root/nuttx/sched/pthread_mutexattrdestroy.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/pthread_mutexattrdestroy.c')
-rw-r--r--nuttx/sched/pthread_mutexattrdestroy.c42
1 files changed, 21 insertions, 21 deletions
diff --git a/nuttx/sched/pthread_mutexattrdestroy.c b/nuttx/sched/pthread_mutexattrdestroy.c
index 221e8b1ca..72568e133 100644
--- a/nuttx/sched/pthread_mutexattrdestroy.c
+++ b/nuttx/sched/pthread_mutexattrdestroy.c
@@ -1,7 +1,7 @@
-/************************************************************
+/****************************************************************************
* pthread_mutexattrdestroy.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,11 +31,11 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
- ************************************************************/
+ ****************************************************************************/
-/************************************************************
+/****************************************************************************
* Included Files
- ************************************************************/
+ ****************************************************************************/
#include <sys/types.h>
#include <pthread.h>
@@ -43,31 +43,31 @@
#include <debug.h>
#include "pthread_internal.h"
-/************************************************************
+/****************************************************************************
* Definitions
- ************************************************************/
+ ****************************************************************************/
-/************************************************************
+/****************************************************************************
* Private Type Declarations
- ************************************************************/
+ ****************************************************************************/
-/************************************************************
+/****************************************************************************
* Global Variables
- ************************************************************/
+ ****************************************************************************/
-/************************************************************
+/****************************************************************************
* Private Variables
- ************************************************************/
+ ****************************************************************************/
-/************************************************************
+/****************************************************************************
* Private Functions
- ************************************************************/
+ ****************************************************************************/
-/************************************************************
+/****************************************************************************
* Public Functions
- ************************************************************/
+ ****************************************************************************/
-/************************************************************
+/****************************************************************************
* Function: pthread_mutexattr_destroy
*
* Description:
@@ -82,9 +82,9 @@
*
* Assumptions:
*
- ************************************************************/
+ ****************************************************************************/
-int pthread_mutexattr_destroy(pthread_mutexattr_t *attr)
+int pthread_mutexattr_destroy(FAR pthread_mutexattr_t *attr)
{
int ret = OK;