mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
Merge pull request #1291 from NoTroop/hostid-enum
hostid: remove old enum
This commit is contained in:
@@ -20,12 +20,6 @@ static SYNTAX: &str = "[options]";
|
||||
static SUMMARY: &str = "";
|
||||
static LONG_HELP: &str = "";
|
||||
|
||||
pub enum Mode {
|
||||
HostId,
|
||||
Help,
|
||||
Version,
|
||||
}
|
||||
|
||||
// currently rust libc interface doesn't include gethostid
|
||||
extern "C" {
|
||||
pub fn gethostid() -> c_long;
|
||||
|
||||
Reference in New Issue
Block a user