Stubs and parsing for rename and timestamps (XCC)
[akaros.git] / tools / compilers / gcc-glibc / glibc-2.14.1-ros / sysdeps / ros / rename.c
index b7d8392..c7e8b35 100644 (file)
@@ -31,11 +31,5 @@ rename (old, new)
       __set_errno (EINVAL);
       return -1;
     }
-
-  __set_errno (ENOSYS);
-  return -1;
+  return ros_syscall(SYS_rename, old, strlen(old), new, strlen(new), 0, 0);
 }
-
-
-stub_warning (rename)
-#include <stub-tag.h>