From ed1ace09e971b24bc9ff88defe2e128064780824 Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Thu, 21 Feb 2019 13:23:28 -0800 Subject: Fix unix build by using filesystem stub --- supervisor/stub/filesystem.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'supervisor') diff --git a/supervisor/stub/filesystem.c b/supervisor/stub/filesystem.c index 12fe9fb10..1c4a3e12d 100644 --- a/supervisor/stub/filesystem.c +++ b/supervisor/stub/filesystem.c @@ -26,13 +26,17 @@ #include "supervisor/filesystem.h" -void filesystem_init(void) { +void filesystem_init(bool create_allowed, bool force_create) { + (void) create_allowed; + (void) force_create; } void filesystem_flush(void) { } -void filesystem_writable_by_python(bool writable) { +bool filesystem_is_writable_by_python(fs_user_mount_t *vfs) { + (void) vfs; + return true; } bool filesystem_present(void) { -- cgit v1.2.3