Skip to content

Commit

Permalink
Fix warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfishcode committed Jan 11, 2024
1 parent cb52b51 commit 01e03b8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion c-scape/src/process/egid.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use libc::{c_int, gid_t};
use libc::gid_t;

#[no_mangle]
unsafe extern "C" fn getegid() -> gid_t {
Expand Down
2 changes: 1 addition & 1 deletion c-scape/src/process/euid.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use libc::{c_int, uid_t};
use libc::uid_t;

#[no_mangle]
unsafe extern "C" fn geteuid() -> uid_t {
Expand Down
2 changes: 1 addition & 1 deletion c-scape/src/process/gid.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use libc::{c_int, gid_t};
use libc::gid_t;

#[no_mangle]
unsafe extern "C" fn getgid() -> gid_t {
Expand Down
2 changes: 1 addition & 1 deletion c-scape/src/process/uid.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use libc::{c_int, uid_t};
use libc::uid_t;

#[no_mangle]
unsafe extern "C" fn getuid() -> uid_t {
Expand Down

0 comments on commit 01e03b8

Please sign in to comment.