mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 01:42:58 +08:00
Remove CONFIG_DISABLE_CLOCK
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user