Add a few things necessary for openssl (not all)

This commit is contained in:
jD91mZM2
2018-07-08 08:44:23 +02:00
parent 587ee32a30
commit d3f6985ee9
23 changed files with 427 additions and 30 deletions
+1 -1
View File
@@ -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)();