summaryrefslogtreecommitdiff
path: root/supervisor
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2019-02-21 13:23:28 -0800
committerScott Shawcroft <scott@tannewt.org>2019-02-21 13:23:28 -0800
commited1ace09e971b24bc9ff88defe2e128064780824 (patch)
tree198e40cc6695b715bf10fa6afc4a1a12e1bfbba6 /supervisor
parentdaee83c10bc65a98f5574017e4e3fbeb350ffbe8 (diff)
Fix unix build by using filesystem stub
Diffstat (limited to 'supervisor')
-rw-r--r--supervisor/stub/filesystem.c8
1 files changed, 6 insertions, 2 deletions
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) {