diff options
author | Björn Stenberg <bjorn@haxx.se> | 2003-01-15 11:38:03 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2003-01-15 11:38:03 +0000 |
commit | 7d80ba01310bcb3d43215d72602c2a8fe1e375ac (patch) | |
tree | 78abbb25f0faf3636aef4fbaed7c21a9b2c3a5f0 /uisimulator/x11/file.h | |
parent | 541fa6ac3adbabb7fbbf748bb003f6e999e2f75a (diff) | |
download | rockbox-7d80ba01310bcb3d43215d72602c2a8fe1e375ac.tar.gz rockbox-7d80ba01310bcb3d43215d72602c2a8fe1e375ac.zip |
Added rename() to simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3090 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/x11/file.h')
-rw-r--r-- | uisimulator/x11/file.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/uisimulator/x11/file.h b/uisimulator/x11/file.h index 134019148c..63ccfe108c 100644 --- a/uisimulator/x11/file.h +++ b/uisimulator/x11/file.h | |||
@@ -23,10 +23,12 @@ | |||
23 | int x11_open(char *name, int opts); | 23 | int x11_open(char *name, int opts); |
24 | int x11_creat(char *name, int mode); | 24 | int x11_creat(char *name, int mode); |
25 | int x11_remove(char *name); | 25 | int x11_remove(char *name); |
26 | int x11_rename(char *oldpath, char *newpath); | ||
26 | 27 | ||
27 | #define open(x,y) x11_open(x,y) | 28 | #define open(x,y) x11_open(x,y) |
28 | #define creat(x,y) x11_open(x,y) | 29 | #define creat(x,y) x11_open(x,y) |
29 | #define remove(x) x11_remove(x) | 30 | #define remove(x) x11_remove(x) |
31 | #define rename(x,y) x11_rename(x,y) | ||
30 | 32 | ||
31 | #include "../../firmware/common/file.h" | 33 | #include "../../firmware/common/file.h" |
32 | 34 | ||