Move gethostname to platform

This commit is contained in:
jD91mZM2
2018-07-18 10:02:42 +02:00
parent 0a57c617c7
commit ff9ef98f47
4 changed files with 62 additions and 52 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ mod inner {
#[no_mangle]
pub unsafe extern "C" fn uname(uts: *mut utsname) -> c_int {
platform::uname(uts as usize)
platform::uname(uts as *mut platform::utsname)
}
}
#[cfg(target_os = "linux")]