This commit is contained in:
Jeremy Soller
2018-08-27 07:12:37 -06:00
parent 8f5470fd27
commit 16373257b0
+1 -5
View File
@@ -6,11 +6,7 @@ use core::ptr;
use platform::types::*;
#[no_mangle]
pub unsafe extern "C" fn bcmp(
first: *const c_void,
second: *const c_void,
n: size_t,
) -> c_int {
pub unsafe extern "C" fn bcmp(first: *const c_void, second: *const c_void, n: size_t) -> c_int {
let first = first as *const c_char;
let second = second as *const c_char;