summaryrefslogtreecommitdiff
path: root/nuttx/include/time.h
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-02-15 15:18:35 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-02-15 15:18:35 -0600
commit1169d36fd1d02c9c0432ee3317c4a749931c7f68 (patch)
tree6403ed9b9569bd1fc3c779313a6b00d122570ea1 /nuttx/include/time.h
parent0b348732427125d0555ff8002f24576f441d4834 (diff)
downloadpx4-nuttx-1169d36fd1d02c9c0432ee3317c4a749931c7f68.tar.gz
px4-nuttx-1169d36fd1d02c9c0432ee3317c4a749931c7f68.tar.bz2
px4-nuttx-1169d36fd1d02c9c0432ee3317c4a749931c7f68.zip
Suffer the consequences of moving struct timeval to its correct location
Diffstat (limited to 'nuttx/include/time.h')
-rw-r--r--nuttx/include/time.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/nuttx/include/time.h b/nuttx/include/time.h
index 832927ea8..c43385ace 100644
--- a/nuttx/include/time.h
+++ b/nuttx/include/time.h
@@ -159,12 +159,6 @@ struct sigevent;
* Public Data
********************************************************************************/
-/* extern char *tznames[]; not supported */
-
-/********************************************************************************
- * Public Function Prototypes
- ********************************************************************************/
-
#undef EXTERN
#if defined(__cplusplus)
#define EXTERN extern "C"
@@ -174,6 +168,19 @@ extern "C"
#define EXTERN extern
#endif
+/* daylight - Daylight savings time flag */
+/* EXTERN int daylight; not supported */
+
+/* timezone - Difference from UTC and local standard time
+/* EXTERN long int timezone; not supported */
+
+/* tzname[] - Timezone strings */
+/* EXTERN FAR char *tzname[]; not supported */
+
+/********************************************************************************
+ * Public Function Prototypes
+ ********************************************************************************/
+
clock_t clock(void);
int clock_settime(clockid_t clockid, FAR const struct timespec *tp);