summaryrefslogtreecommitdiff
path: root/nuttx/libc
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-08-07 12:35:24 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-08-07 12:35:24 -0600
commit6c1d3a968a290e3d09cfc62cdc1a0257d4d4f458 (patch)
treed1f3f6268bff752463cec686ca851f7b0f619051 /nuttx/libc
parentc029edd96276fe7efa15992a5dd0da47920a2adb (diff)
downloadnuttx-6c1d3a968a290e3d09cfc62cdc1a0257d4d4f458.tar.gz
nuttx-6c1d3a968a290e3d09cfc62cdc1a0257d4d4f458.tar.bz2
nuttx-6c1d3a968a290e3d09cfc62cdc1a0257d4d4f458.zip
Remove CONFIG_DISABLE_CLOCK
Diffstat (limited to 'nuttx/libc')
-rw-r--r--nuttx/libc/time/lib_time.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/nuttx/libc/time/lib_time.c b/nuttx/libc/time/lib_time.c
index 6335d354f..8e596ef17 100644
--- a/nuttx/libc/time/lib_time.c
+++ b/nuttx/libc/time/lib_time.c
@@ -1,7 +1,7 @@
/****************************************************************************
* libc/time/lib_time.c
*
- * Copyright (C) 2011 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2011, 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -42,8 +42,6 @@
#include <sys/time.h>
#include <time.h>
-#ifndef CONFIG_DISABLE_CLOCK
-
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
@@ -106,5 +104,3 @@ time_t time(time_t *tloc)
return (time_t)ERROR;
}
-
-#endif /* !CONFIG_DISABLE_CLOCK */