summaryrefslogtreecommitdiff
path: root/nuttx/sched
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-10-02 17:53:17 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-10-02 17:53:17 +0000
commit5246751cb564522530b70b4f171dbd3d09a6eb4b (patch)
treee6cdacc9234e2f1d88f5dc4313065908d200edf5 /nuttx/sched
parentf83bf7d4334e20205fc87a6a98814bd6e44137c4 (diff)
downloadpx4-nuttx-5246751cb564522530b70b4f171dbd3d09a6eb4b.tar.gz
px4-nuttx-5246751cb564522530b70b4f171dbd3d09a6eb4b.tar.bz2
px4-nuttx-5246751cb564522530b70b4f171dbd3d09a6eb4b.zip
Add FAT date/time stamp
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4008 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched')
-rw-r--r--nuttx/sched/clock_gettime.c3
-rw-r--r--nuttx/sched/clock_settime.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/sched/clock_gettime.c b/nuttx/sched/clock_gettime.c
index b146949fb..d7707f379 100644
--- a/nuttx/sched/clock_gettime.c
+++ b/nuttx/sched/clock_gettime.c
@@ -2,7 +2,7 @@
* sched/clock_gettime.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -42,6 +42,7 @@
#include <stdint.h>
#include <time.h>
+#include <assert.h>
#include <errno.h>
#include <debug.h>
diff --git a/nuttx/sched/clock_settime.c b/nuttx/sched/clock_settime.c
index f8bff78e3..9db3112df 100644
--- a/nuttx/sched/clock_settime.c
+++ b/nuttx/sched/clock_settime.c
@@ -2,7 +2,7 @@
* sched/clock_settime.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -41,6 +41,7 @@
#include <nuttx/rtc.h>
#include <time.h>
+#include <assert.h>
#include <errno.h>
#include <debug.h>