diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/common/rbpaths.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/common/rbpaths.c b/firmware/common/rbpaths.c index f5a484273c..767f16585b 100644 --- a/firmware/common/rbpaths.c +++ b/firmware/common/rbpaths.c | |||
@@ -63,7 +63,7 @@ extern int sim_rmdir(const char* name); | |||
63 | const char *rbhome; | 63 | const char *rbhome; |
64 | #endif | 64 | #endif |
65 | 65 | ||
66 | #if !defined(SAMSUNG_YPR0) | 66 | #if !defined(SAMSUNG_YPR0) && !defined(__PCTOOL__) |
67 | 67 | ||
68 | /* flags for get_user_file_path() */ | 68 | /* flags for get_user_file_path() */ |
69 | /* whether you need write access to that file/dir, especially true | 69 | /* whether you need write access to that file/dir, especially true |
@@ -255,7 +255,7 @@ int app_open(const char *name, int o, ...) | |||
255 | int app_creat(const char* name, mode_t mode) { return creat(name, mode); } | 255 | int app_creat(const char* name, mode_t mode) { return creat(name, mode); } |
256 | int app_remove(const char *name) { return remove(name); } | 256 | int app_remove(const char *name) { return remove(name); } |
257 | int app_rename(const char *old, const char *new) { return rename(old,new); } | 257 | int app_rename(const char *old, const char *new) { return rename(old,new); } |
258 | DIR *app_opendir(const char *name) { return opendir(name); } | 258 | DIR *app_opendir(const char *name) { return (DIR*)opendir(name); } /* cast to remove warning in checkwps */ |
259 | int app_mkdir(const char* name) { return mkdir(name); } | 259 | int app_mkdir(const char* name) { return mkdir(name); } |
260 | int app_rmdir(const char* name) { return rmdir(name); } | 260 | int app_rmdir(const char* name) { return rmdir(name); } |
261 | 261 | ||