summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/fs/fs.c2
-rw-r--r--core/include/fs.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/core/fs/fs.c b/core/fs/fs.c
index 39ba09eb..c743dcaf 100644
--- a/core/fs/fs.c
+++ b/core/fs/fs.c
@@ -6,6 +6,8 @@
#include "fs.h"
#include "cache.h"
+char *PATH = "/:/bin/";
+
/* The currently mounted filesystem */
struct fs_info *this_fs = NULL; /* Root filesystem */
diff --git a/core/include/fs.h b/core/include/fs.h
index e9e4548f..04451ed0 100644
--- a/core/include/fs.h
+++ b/core/include/fs.h
@@ -178,6 +178,8 @@ static inline struct file *handle_to_file(uint16_t handle)
return handle ? &files[handle-1] : NULL;
}
+extern char *PATH;
+
/* fs.c */
void pm_mangle_name(com32sys_t *);
void pm_searchdir(com32sys_t *);