Commit 3a8464e4 authored by Deomid Ryabkov's avatar Deomid Ryabkov Committed by Cesanta Bot

Reinstate fs_slfs_rename stub

Needed by TI libc for use with add_device

PUBLISHED_FROM=ff0713c5f4d04810894d8e1a82aaac25aa101365
parent 39b0b8e2
...@@ -11864,6 +11864,10 @@ int fs_slfs_unlink(const char *filename) { ...@@ -11864,6 +11864,10 @@ int fs_slfs_unlink(const char *filename) {
return set_errno(sl_fs_to_errno(sl_FsDel((const _u8 *) filename, 0))); return set_errno(sl_fs_to_errno(sl_FsDel((const _u8 *) filename, 0)));
} }
int fs_slfs_rename(const char *from, const char *to) {
return set_errno(ENOTSUP);
}
void fs_slfs_set_new_file_size(const char *name, size_t size) { void fs_slfs_set_new_file_size(const char *name, size_t size) {
int i; int i;
for (i = 0; i < MAX_OPEN_SLFS_FILES; i++) { for (i = 0; i < MAX_OPEN_SLFS_FILES; i++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment