Fix implicit definition warnings do to missing inclusion of nuttx/time.h (#162)
Recent changes removed CONFIG_TIME_ENHANCED and unmasked some warnings. These warnings were caused by nuttx/time.h not being included by files that now referenced clock_daysbeforemonth() and clock_isleapyear(). This commit adds those missing inclusions and eliminates the warnings. Co-authored-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
parent
36185d8366
commit
b46b76c956
@ -46,6 +46,7 @@
|
||||
|
||||
#include <nuttx/arch.h>
|
||||
#include <nuttx/irq.h>
|
||||
#include <nuttx/time.h>
|
||||
|
||||
#include <arch/board/board.h>
|
||||
|
||||
|
@ -48,6 +48,7 @@
|
||||
|
||||
#include <nuttx/arch.h>
|
||||
#include <nuttx/irq.h>
|
||||
#include <nuttx/time.h>
|
||||
|
||||
#include "up_arch.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user