Comment out #[no_mangle] on unimplemented functions

This stops configure scripts from identifying them as valid
This commit is contained in:
jD91mZM2
2018-07-12 18:14:43 +02:00
parent b8cab5f0be
commit a7cc95cd90
21 changed files with 329 additions and 328 deletions
+5 -5
View File
@@ -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!();
}