diff options
author | Charles Lew <crlf0710@gmail.com> | 2019-04-29 22:12:41 +0800 |
---|---|---|
committer | Charles Lew <crlf0710@gmail.com> | 2019-04-29 22:12:41 +0800 |
commit | 1cf0294e2dd520dee96f2442478ac76bccbbbc58 (patch) | |
tree | a8f2e5fd8dbba94e431ae32896104deb1254f231 /src/fuchsia | |
parent | f9818f14f80101910c386e1f695555934735a2af (diff) | |
download | rust-libc-1cf0294e2dd520dee96f2442478ac76bccbbbc58.tar.gz |
Fix getgrgid_r to accept gid_t.
Diffstat (limited to 'src/fuchsia')
-rw-r--r-- | src/fuchsia/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fuchsia/mod.rs b/src/fuchsia/mod.rs index 01317e30a4..cef48e5224 100644 --- a/src/fuchsia/mod.rs +++ b/src/fuchsia/mod.rs @@ -4168,7 +4168,7 @@ extern { offset: *mut off_t, count: ::size_t) -> ::ssize_t; pub fn sigsuspend(mask: *const ::sigset_t) -> ::c_int; - pub fn getgrgid_r(uid: ::uid_t, + pub fn getgrgid_r(gid: ::gid_t, grp: *mut ::group, buf: *mut ::c_char, buflen: ::size_t, |