From 412dd4e1b0112c5aa605ef33bc18215fb56edf67 Mon Sep 17 00:00:00 2001 From: Petr Sumbera Date: Mon, 25 Nov 2019 15:17:42 +0100 Subject: [PATCH] Fixes fmt issues. --- src/unix/solarish/mod.rs | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/unix/solarish/mod.rs b/src/unix/solarish/mod.rs index b8a39536b9c4d..956a664b20f36 100644 --- a/src/unix/solarish/mod.rs +++ b/src/unix/solarish/mod.rs @@ -2060,11 +2060,17 @@ extern "C" { advice: ::c_int, ) -> ::c_int; - pub fn shmat(shmid: ::c_int, shmaddr: *const ::c_void, - shmflg: ::c_int) -> *mut ::c_void; - - pub fn shmctl(shmid: ::c_int, cmd: ::c_int, - buf: *mut ::shmid_ds) -> ::c_int; + pub fn shmat( + shmid: ::c_int, + shmaddr: *const ::c_void, + shmflg: ::c_int, + ) -> *mut ::c_void; + + pub fn shmctl( + shmid: ::c_int, + cmd: ::c_int, + buf: *mut ::shmid_ds, + ) -> ::c_int; pub fn shmdt(shmaddr: *const ::c_void) -> ::c_int;