summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua M. Clulow <josh@sysmgr.org>2019-11-27 22:13:28 +0000
committerJoshua M. Clulow <josh@sysmgr.org>2019-11-27 22:13:28 +0000
commit223e7d340a21cd104d157438a630d0b9ccafa194 (patch)
tree5e246ab77c787dd525ee49d4f2e8a933c8a4b9a7
parentca3eb035f621f2df8d1de95514270178f687faeb (diff)
downloadrust-libc-223e7d340a21cd104d157438a630d0b9ccafa194.tar.gz
expose futimens() for illumos systems (fix style)
-rw-r--r--src/unix/solarish/mod.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/unix/solarish/mod.rs b/src/unix/solarish/mod.rs
index e840678764..9f0372b20f 100644
--- a/src/unix/solarish/mod.rs
+++ b/src/unix/solarish/mod.rs
@@ -2157,10 +2157,7 @@ extern "C" {
path: *const ::c_char,
times: *const ::timeval,
) -> ::c_int;
- pub fn futimens(
- dirfd: ::c_int,
- times: *const ::timespec,
- ) -> ::c_int;
+ pub fn futimens(dirfd: ::c_int, times: *const ::timespec) -> ::c_int;
pub fn utimensat(
dirfd: ::c_int,
path: *const ::c_char,