mirror of
https://github.com/uutils/coreutils
synced 2024-11-17 10:18:11 +00:00
fix(sync) - Remove 'unused import' on mac
This commit is contained in:
parent
b687a2742c
commit
d9cf0374be
1 changed files with 2 additions and 0 deletions
|
@ -28,7 +28,9 @@ static ARG_FILES: &str = "files";
|
||||||
#[cfg(unix)]
|
#[cfg(unix)]
|
||||||
mod platform {
|
mod platform {
|
||||||
use super::libc;
|
use super::libc;
|
||||||
|
#[cfg(target_os = "linux")]
|
||||||
use std::fs::File;
|
use std::fs::File;
|
||||||
|
#[cfg(target_os = "linux")]
|
||||||
use std::os::unix::io::AsRawFd;
|
use std::os::unix::io::AsRawFd;
|
||||||
|
|
||||||
pub unsafe fn do_sync() -> isize {
|
pub unsafe fn do_sync() -> isize {
|
||||||
|
|
Loading…
Reference in a new issue