1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-15 01:23:49 +01:00

cpu/esp_esp8266: move missing _rename_r function to esp_common

This commit is contained in:
Gunar Schorcht 2022-03-09 06:38:16 +01:00
parent 2724276997
commit d63c116eba
2 changed files with 5 additions and 5 deletions

View File

@ -55,11 +55,6 @@ void heap_stats(void)
* @name Other system functions
*/
int _rename_r(struct _reent *r, const char *from, const char *to)
{
return 0;
}
uint32_t system_get_time(void)
{
return phy_get_mactime();

View File

@ -472,6 +472,11 @@ uint32_t esp_get_free_internal_heap_size( void ) __attribute__((alias("get_free_
* @name Other system functions
*/
int _rename_r(struct _reent *r, const char *from, const char *to)
{
return 0;
}
struct _reent* __getreent(void) {
return _GLOBAL_REENT;
}