Update ralloc, fix invalid c++ names

This commit is contained in:
Jeremy Soller
2018-06-20 08:48:56 -06:00
parent 009ceec188
commit 1b653c4e60
6 changed files with 17 additions and 15 deletions
+2 -2
View File
@@ -760,8 +760,8 @@ pub extern "C" fn remove(path: *const c_char) -> c_int {
}
#[no_mangle]
pub extern "C" fn rename(old: *const c_char, new: *const c_char) -> c_int {
platform::rename(old, new)
pub extern "C" fn rename(oldpath: *const c_char, newpath: *const c_char) -> c_int {
platform::rename(oldpath, newpath)
}
/// Rewind `stream` back to the beginning of it