diff --git a/src/header/stdlib/mod.rs b/src/header/stdlib/mod.rs index 3ef3431302..7acc6b4295 100644 --- a/src/header/stdlib/mod.rs +++ b/src/header/stdlib/mod.rs @@ -405,9 +405,10 @@ pub unsafe extern "C" fn getsubopt( -1 } -// #[no_mangle] +#[no_mangle] pub extern "C" fn grantpt(fildes: c_int) -> c_int { - unimplemented!(); + // No-op on Linux and Redox + 0 } #[no_mangle]