1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

Merge pull request #1291 from NoTroop/hostid-enum

hostid: remove old enum
This commit is contained in:
Alex Lyon 2018-09-18 18:43:25 -07:00 committed by GitHub
commit 94cd6540ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;