newlib: separate low-level code in time.c implementation

This commit is contained in:
Renz Bagaporo
2020-06-23 11:53:58 +08:00
parent cda9c595d7
commit a395a00d2c
8 changed files with 331 additions and 255 deletions
@@ -17,6 +17,11 @@
#include <sys/reent.h>
/*
* Initialize newlib time functions
*/
void esp_newlib_time_init(void);
/**
* Replacement for newlib's _REENT_INIT_PTR and __sinit.
*