mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
mknod: remove repeated macro
This commit is contained in:
parent
b34efd72b1
commit
d46a02b586
1 changed files with 0 additions and 8 deletions
|
@ -46,14 +46,6 @@ fn _makenod(path: CString, mode: mode_t, dev: dev_t) -> i32 {
|
||||||
unsafe { libc::mknod(path.as_ptr(), mode, dev) }
|
unsafe { libc::mknod(path.as_ptr(), mode, dev) }
|
||||||
}
|
}
|
||||||
|
|
||||||
macro_rules! disp_err {
|
|
||||||
($($args:tt)+) => ({
|
|
||||||
pipe_write!(&mut ::std::io::stderr(), "{}: ", NAME);
|
|
||||||
pipe_writeln!(&mut ::std::io::stderr(), $($args)+);
|
|
||||||
pipe_writeln!(&mut ::std::io::stderr(), "Try '{} --help' for more information.", NAME);
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn uumain(args: Vec<String>) -> i32 {
|
pub fn uumain(args: Vec<String>) -> i32 {
|
||||||
let mut opts = Options::new();
|
let mut opts = Options::new();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue