summaryrefslogtreecommitdiff
path: root/nuttx/sched/clock_abstime2ticks.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-02-11 19:16:45 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-02-11 19:16:45 +0000
commit86afffb7b3441d1ac33e5b82136bd58c3b0e8a97 (patch)
tree879ef02330adbf6a1dcd976cc90f649250592034 /nuttx/sched/clock_abstime2ticks.c
parentc57406e92f257c877a7dc8e9a8bfd21693f12b5c (diff)
downloadpx4-nuttx-86afffb7b3441d1ac33e5b82136bd58c3b0e8a97.tar.gz
px4-nuttx-86afffb7b3441d1ac33e5b82136bd58c3b0e8a97.tar.bz2
px4-nuttx-86afffb7b3441d1ac33e5b82136bd58c3b0e8a97.zip
Changes for Z8Encore\! compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@668 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/clock_abstime2ticks.c')
-rw-r--r--nuttx/sched/clock_abstime2ticks.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/sched/clock_abstime2ticks.c b/nuttx/sched/clock_abstime2ticks.c
index 7cd3eb495..b93fb8eac 100644
--- a/nuttx/sched/clock_abstime2ticks.c
+++ b/nuttx/sched/clock_abstime2ticks.c
@@ -1,7 +1,7 @@
/********************************************************************************
* clock_abstime2ticks.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.
*
@@ -88,8 +88,8 @@
*
********************************************************************************/
-extern int clock_abstime2ticks(clockid_t clockid, const struct timespec *abstime,
- int *ticks)
+int clock_abstime2ticks(clockid_t clockid, FAR const struct timespec *abstime,
+ FAR int *ticks)
{
struct timespec currtime;
struct timespec reltime;