hostid: remove old enum

Remove old arg parsing enum
This commit is contained in:
Marcus Millin 2018-09-18 19:48:53 -05:00
parent 1f64d83d6f
commit a19d6d9d7c

View file

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