mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
Fix 'extern blocks must be unsafe'
This commit is contained in:
parent
2739c19330
commit
95b2de78e1
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ cpp! {{
|
|||
}
|
||||
}}
|
||||
|
||||
extern "C" {
|
||||
unsafe extern "C" {
|
||||
fn __stdbuf_get_stdin() -> *mut FILE;
|
||||
fn __stdbuf_get_stdout() -> *mut FILE;
|
||||
fn __stdbuf_get_stderr() -> *mut FILE;
|
||||
|
|
|
@ -45,7 +45,7 @@ use std::io::Result as IOResult;
|
|||
use std::ptr;
|
||||
use std::sync::{LazyLock, Mutex};
|
||||
|
||||
extern "C" {
|
||||
unsafe extern "C" {
|
||||
/// From: `<https://man7.org/linux/man-pages/man3/getgrouplist.3.html>`
|
||||
/// > The getgrouplist() function scans the group database to obtain
|
||||
/// > the list of groups that user belongs to.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue