mirror of
https://github.com/chatmail/core.git
synced 2026-05-07 08:56:30 +03:00
refactor: remove unused import of qsort() from C library (
This commit is contained in:
committed by
Friedel Ziegelmayer
parent
188da2a020
commit
0c082fac7b
8
src/x.rs
8
src/x.rs
@@ -37,14 +37,6 @@ pub fn strndup(s: *const libc::c_char, n: libc::c_ulong) -> *mut libc::c_char {
|
|||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub fn clock() -> libc::clock_t;
|
pub fn clock() -> libc::clock_t;
|
||||||
pub fn qsort(
|
|
||||||
__base: *mut libc::c_void,
|
|
||||||
__nel: size_t,
|
|
||||||
__width: size_t,
|
|
||||||
__compar: Option<
|
|
||||||
unsafe extern "C" fn(_: *const libc::c_void, _: *const libc::c_void) -> libc::c_int,
|
|
||||||
>,
|
|
||||||
);
|
|
||||||
|
|
||||||
// -- DC Methods
|
// -- DC Methods
|
||||||
pub fn dc_mprintf(format: *const libc::c_char, _: ...) -> *mut libc::c_char;
|
pub fn dc_mprintf(format: *const libc::c_char, _: ...) -> *mut libc::c_char;
|
||||||
|
|||||||
Reference in New Issue
Block a user