diff --git a/id/id.rs b/id/id.rs index 77fd28d0a..6bc422d96 100644 --- a/id/id.rs +++ b/id/id.rs @@ -21,14 +21,12 @@ extern crate libc; use std::os; use std::ptr::read; use libc::{ - c_char, c_int, - gid_t, uid_t, getgid, getuid }; -use libc::funcs::posix88::unistd::{getegid, geteuid, getgroups, getlogin}; +use libc::funcs::posix88::unistd::{getegid, geteuid, getlogin}; use std::str::raw::from_c_str; use getopts::{getopts, optflag, usage}; use c_types::{ @@ -309,8 +307,6 @@ fn pline(possible_pw: Option) { pw_shell); } -static NGROUPS: i32 = 20; - #[cfg(target_os = "linux")] fn auditid() { }