forked from nuttx/nuttx-update
Some files that now include sys/time.h should no longer include timer.h
This commit is contained in:
parent
d6704a1cd7
commit
f357897b6c
3 changed files with 5 additions and 3 deletions
|
@ -44,7 +44,6 @@
|
|||
|
||||
#include <string.h>
|
||||
#include <poll.h>
|
||||
#include <time.h>
|
||||
#include <errno.h>
|
||||
#include <assert.h>
|
||||
#include <debug.h>
|
||||
|
|
|
@ -190,7 +190,7 @@ int clock_getres(clockid_t clockid, FAR struct timespec *res);
|
|||
time_t mktime(FAR struct tm *tp);
|
||||
FAR struct tm *gmtime(FAR const time_t *timer);
|
||||
FAR struct tm *gmtime_r(FAR const time_t *timer, FAR struct tm *result);
|
||||
size_t strftime(char *s, size_t max, FAR const char *format,
|
||||
size_t strftime(FAR char *s, size_t max, FAR const char *format,
|
||||
FAR const struct tm *tm);
|
||||
|
||||
time_t time(FAR time_t *tloc);
|
||||
|
|
|
@ -39,9 +39,12 @@
|
|||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <time.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Function: time
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue