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