From 843388ac7dad39243927e8c24bac74a238f2682f Mon Sep 17 00:00:00 2001 From: debris Date: Mon, 4 Jun 2018 16:37:03 +0200 Subject: [PATCH] glibc does not provide a wrapper for the renameat2 --- src/unix/notbsd/linux/mod.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/unix/notbsd/linux/mod.rs b/src/unix/notbsd/linux/mod.rs index 5c7f9613..60e0d8e2 100644 --- a/src/unix/notbsd/linux/mod.rs +++ b/src/unix/notbsd/linux/mod.rs @@ -1616,9 +1616,6 @@ extern { len: ::off_t) -> ::c_int; pub fn readahead(fd: ::c_int, offset: ::off64_t, count: ::size_t) -> ::ssize_t; - pub fn renameat2(olddirfd: ::c_int, oldpath: *const ::c_char, - newdirfd: ::c_int, newpath: *const ::c_char, - flags: ::c_int) -> ::c_int; pub fn getxattr(path: *const c_char, name: *const c_char, value: *mut ::c_void, size: ::size_t) -> ::ssize_t; pub fn lgetxattr(path: *const c_char, name: *const c_char,