mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00
Merge pull request #1291 from NoTroop/hostid-enum
hostid: remove old enum
This commit is contained in:
commit
94cd6540ba
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