Add a few things necessary for openssl (not all)
This commit is contained in:
@@ -229,7 +229,7 @@ pub extern "C" fn erand(xsubi: [c_ushort; 3]) -> c_double {
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub unsafe extern "C" fn exit(status: c_int) -> ! {
|
||||
pub unsafe extern "C" fn exit(status: c_int) {
|
||||
for i in (0..ATEXIT_FUNCS.len()).rev() {
|
||||
if let Some(func) = ATEXIT_FUNCS[i] {
|
||||
(func)();
|
||||
|
||||
Reference in New Issue
Block a user