Comment out #[no_mangle] on unimplemented functions
This stops configure scripts from identifying them as valid
This commit is contained in:
@@ -23,12 +23,12 @@ pub struct fd_set {
|
||||
pub fds_bits: [c_long; 16usize],
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
// #[no_mangle]
|
||||
pub extern "C" fn getitimer(which: c_int, value: *mut itimerval) -> c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
// #[no_mangle]
|
||||
pub extern "C" fn setitimer(
|
||||
which: c_int,
|
||||
value: *const itimerval,
|
||||
@@ -37,12 +37,12 @@ pub extern "C" fn setitimer(
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
// #[no_mangle]
|
||||
pub extern "C" fn gettimeofday(tp: *mut timeval, tzp: *const c_void) -> c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
// #[no_mangle]
|
||||
pub extern "C" fn select(
|
||||
nfds: c_int,
|
||||
readfds: *mut fd_set,
|
||||
@@ -53,7 +53,7 @@ pub extern "C" fn select(
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
// #[no_mangle]
|
||||
pub extern "C" fn utimes(path: *const c_char, times: [timeval; 2]) -> c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user