diff options
Diffstat (limited to 'firmware/export/rbpaths.h')
-rw-r--r-- | firmware/export/rbpaths.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/firmware/export/rbpaths.h b/firmware/export/rbpaths.h index 1f7e1a2643..3600709482 100644 --- a/firmware/export/rbpaths.h +++ b/firmware/export/rbpaths.h | |||
@@ -55,8 +55,6 @@ | |||
55 | #define PLUGIN_DIR ROCKBOX_DIR "/rocks" | 55 | #define PLUGIN_DIR ROCKBOX_DIR "/rocks" |
56 | #define CODECS_DIR ROCKBOX_DIR "/codecs" | 56 | #define CODECS_DIR ROCKBOX_DIR "/codecs" |
57 | 57 | ||
58 | #define paths_init() | ||
59 | |||
60 | #else /* APPLICATION */ | 58 | #else /* APPLICATION */ |
61 | 59 | ||
62 | #define HOME_DIR "<HOME>" /* replaced at runtime */ | 60 | #define HOME_DIR "<HOME>" /* replaced at runtime */ |
@@ -68,8 +66,6 @@ | |||
68 | #define CODECS_DIR ROCKBOX_LIBRARY_PATH "/rockbox/codecs" | 66 | #define CODECS_DIR ROCKBOX_LIBRARY_PATH "/rockbox/codecs" |
69 | #endif | 67 | #endif |
70 | 68 | ||
71 | extern void paths_init(void); | ||
72 | |||
73 | #endif /* !APPLICATION || SAMSUNG_YPR0 */ | 69 | #endif /* !APPLICATION || SAMSUNG_YPR0 */ |
74 | 70 | ||
75 | #define HOME_DIR_LEN (sizeof(HOME_DIR)-1) | 71 | #define HOME_DIR_LEN (sizeof(HOME_DIR)-1) |
@@ -91,6 +87,8 @@ int app_mkdir(const char* name); | |||
91 | int app_rmdir(const char* name); | 87 | int app_rmdir(const char* name); |
92 | ssize_t app_readlink(const char *path, char *buf, size_t bufsiz); | 88 | ssize_t app_readlink(const char *path, char *buf, size_t bufsiz); |
93 | 89 | ||
90 | extern void paths_init(void); | ||
91 | |||
94 | #endif | 92 | #endif |
95 | 93 | ||
96 | #define REC_BASE_DIR HOME_DIR | 94 | #define REC_BASE_DIR HOME_DIR |