mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-16 01:53:51 +01:00
cpu/esp_esp8266: move missing _rename_r function to esp_common
This commit is contained in:
parent
2724276997
commit
d63c116eba
@ -55,11 +55,6 @@ void heap_stats(void)
|
|||||||
* @name Other system functions
|
* @name Other system functions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int _rename_r(struct _reent *r, const char *from, const char *to)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
uint32_t system_get_time(void)
|
uint32_t system_get_time(void)
|
||||||
{
|
{
|
||||||
return phy_get_mactime();
|
return phy_get_mactime();
|
||||||
|
|||||||
@ -472,6 +472,11 @@ uint32_t esp_get_free_internal_heap_size( void ) __attribute__((alias("get_free_
|
|||||||
* @name Other system functions
|
* @name Other system functions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
int _rename_r(struct _reent *r, const char *from, const char *to)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
struct _reent* __getreent(void) {
|
struct _reent* __getreent(void) {
|
||||||
return _GLOBAL_REENT;
|
return _GLOBAL_REENT;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user