mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 03:57:44 +00:00
hostid: remove old enum
Remove old arg parsing enum
This commit is contained in:
parent
1f64d83d6f
commit
a19d6d9d7c
1 changed files with 0 additions and 6 deletions
|
@ -20,12 +20,6 @@ static SYNTAX: &str = "[options]";
|
||||||
static SUMMARY: &str = "";
|
static SUMMARY: &str = "";
|
||||||
static LONG_HELP: &str = "";
|
static LONG_HELP: &str = "";
|
||||||
|
|
||||||
pub enum Mode {
|
|
||||||
HostId,
|
|
||||||
Help,
|
|
||||||
Version,
|
|
||||||
}
|
|
||||||
|
|
||||||
// currently rust libc interface doesn't include gethostid
|
// currently rust libc interface doesn't include gethostid
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub fn gethostid() -> c_long;
|
pub fn gethostid() -> c_long;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue