mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00
id: remove dead code/unused imports
This commit is contained in:
parent
e0d9347182
commit
aa5293ecfa
1 changed files with 1 additions and 5 deletions
6
id/id.rs
6
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<c_passwd>) {
|
|||
pw_shell);
|
||||
}
|
||||
|
||||
static NGROUPS: i32 = 20;
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
fn auditid() { }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue