remove extern c and no_mangle

This commit is contained in:
dignifiedquire
2019-04-27 01:42:58 +03:00
parent 9a1fcc745e
commit 1faf248e09
54 changed files with 789 additions and 1579 deletions

View File

@@ -9,8 +9,7 @@ use crate::x::*;
/* yes: uppercase */
/* library private: key-history */
#[no_mangle]
pub unsafe extern "C" fn dc_add_to_keyhistory(
pub unsafe fn dc_add_to_keyhistory(
mut context: *mut dc_context_t,
mut rfc724_mid: *const libc::c_char,
mut sending_time: time_t,