summaryrefslogtreecommitdiffstats
path: root/linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux.c')
-rw-r--r--linux.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux.c b/linux.c
index 1feefd6f1..ac1174a5c 100644
--- a/linux.c
+++ b/linux.c
@@ -101,6 +101,11 @@ int enumerate_devices (device_callback_t callback, void *userdata)
}
/* NOP wrappers to comform with windows.c */
+int subsurface_rename(const char *path, const char *newpath)
+{
+ return rename(path, newpath);
+}
+
int subsurface_open(const char *path, int oflags, mode_t mode)
{
return open(path, oflags, mode);