summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/common/rbpaths.c4
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);
63const char *rbhome; 63const 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, ...)
255int app_creat(const char* name, mode_t mode) { return creat(name, mode); } 255int app_creat(const char* name, mode_t mode) { return creat(name, mode); }
256int app_remove(const char *name) { return remove(name); } 256int app_remove(const char *name) { return remove(name); }
257int app_rename(const char *old, const char *new) { return rename(old,new); } 257int app_rename(const char *old, const char *new) { return rename(old,new); }
258DIR *app_opendir(const char *name) { return opendir(name); } 258DIR *app_opendir(const char *name) { return (DIR*)opendir(name); } /* cast to remove warning in checkwps */
259int app_mkdir(const char* name) { return mkdir(name); } 259int app_mkdir(const char* name) { return mkdir(name); }
260int app_rmdir(const char* name) { return rmdir(name); } 260int app_rmdir(const char* name) { return rmdir(name); }
261 261