|
@@ -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;
|
|
|
|