summaryrefslogtreecommitdiff
path: root/nuttx/sched/clock_settime.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-14 19:30:18 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-14 19:30:18 +0000
commit6260f872623acfe046f62a728405dbadc2a60c8c (patch)
treed10315fb8eeff8dadcbde87cc1e0715d015bf261 /nuttx/sched/clock_settime.c
parent59f367c060c408a9c9f2ee6db3a4fd498c4a2724 (diff)
downloadpx4-nuttx-6260f872623acfe046f62a728405dbadc2a60c8c.tar.gz
px4-nuttx-6260f872623acfe046f62a728405dbadc2a60c8c.tar.bz2
px4-nuttx-6260f872623acfe046f62a728405dbadc2a60c8c.zip
Changing NuttX fixed size type names to C99 standard names -- things will be broken for awhile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2337 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/clock_settime.c')
-rw-r--r--nuttx/sched/clock_settime.c50
1 files changed, 25 insertions, 25 deletions
diff --git a/nuttx/sched/clock_settime.c b/nuttx/sched/clock_settime.c
index 989ed50cd..da0d8f1ac 100644
--- a/nuttx/sched/clock_settime.c
+++ b/nuttx/sched/clock_settime.c
@@ -1,7 +1,7 @@
-/************************************************************
- * clock_settime.c
+/************************************************************************
+ * sched/clock_settime.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.
*
@@ -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 <nuttx/config.h>
@@ -44,45 +44,45 @@
#include <debug.h>
#include "clock_internal.h"
-/************************************************************
+/************************************************************************
* Definitions
- ************************************************************/
+ ************************************************************************/
-/************************************************************
+/************************************************************************
* Private Type Declarations
- ************************************************************/
+ ************************************************************************/
-/************************************************************
+/************************************************************************
* Private Function Prototypes
- ************************************************************/
+ ************************************************************************/
-/**********************************************************
+/**********************************************************************
* Public Constant Data
- **********************************************************/
+ **********************************************************************/
-/************************************************************
+/************************************************************************
* Public Variables
- ************************************************************/
+ ************************************************************************/
-/**********************************************************
+/**********************************************************************
* Private Variables
- **********************************************************/
+ **********************************************************************/
-/************************************************************
+/************************************************************************
* Private Functions
- ************************************************************/
+ ************************************************************************/
-/************************************************************
+/************************************************************************
* Public Functions
- ************************************************************/
+ ************************************************************************/
-/************************************************************
+/************************************************************************
* Function: clock_settime
*
* Description:
* Clock Functions based on POSIX APIs
*
- ************************************************************/
+ ************************************************************************/
int clock_settime(clockid_t clock_id, const struct timespec *tp)
{