summaryrefslogtreecommitdiff
path: root/nuttx/lib/time/lib_gmtime.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-12 14:14:47 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-12 14:14:47 +0000
commitd5d9e262ee50ae2f423f0587090eb4573c98e6c3 (patch)
tree55e64594b3b8a3a2235ac3f37c736d44813e725f /nuttx/lib/time/lib_gmtime.c
parent087feacd1d4ad183b8c9b81a1c664ebfea1278e1 (diff)
downloadpx4-nuttx-d5d9e262ee50ae2f423f0587090eb4573c98e6c3.tar.gz
px4-nuttx-d5d9e262ee50ae2f423f0587090eb4573c98e6c3.tar.bz2
px4-nuttx-d5d9e262ee50ae2f423f0587090eb4573c98e6c3.zip
Add rtc.h header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3493 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/lib/time/lib_gmtime.c')
-rw-r--r--nuttx/lib/time/lib_gmtime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/lib/time/lib_gmtime.c b/nuttx/lib/time/lib_gmtime.c
index 58dc11c66..7bce8391e 100644
--- a/nuttx/lib/time/lib_gmtime.c
+++ b/nuttx/lib/time/lib_gmtime.c
@@ -85,9 +85,9 @@
*
****************************************************************************/
-struct tm *gmtime(const time_t *clock)
+struct tm *gmtime(const time_t *timer)
{
static struct tm tm;
- return gmtime_r(clock, &tm);
+ return gmtime_r(timer, &tm);
}