summaryrefslogtreecommitdiffstats
path: root/nuttx/sched/pthread_barrierattrdestroy.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/pthread_barrierattrdestroy.c')
-rw-r--r--nuttx/sched/pthread_barrierattrdestroy.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/nuttx/sched/pthread_barrierattrdestroy.c b/nuttx/sched/pthread_barrierattrdestroy.c
index de20d16f6f..813e95d8a1 100644
--- a/nuttx/sched/pthread_barrierattrdestroy.c
+++ b/nuttx/sched/pthread_barrierattrdestroy.c
@@ -1,7 +1,7 @@
/********************************************************************************
- * pthread_barrierattrdestroy.c
+ * sched/pthread_barrierattrdestroy.c
*
- * Copyright (C) 2007 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007, 2009 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.
*
@@ -37,7 +37,8 @@
* Included Files
********************************************************************************/
-#include <sys/types.h>
+#include <nuttx/config.h>
+
#include <pthread.h>
#include <errno.h>
#include <debug.h>