remove unused types

This commit is contained in:
dignifiedquire
2019-05-06 10:59:24 +02:00
parent afa80f55e9
commit 29a9a408ef
8 changed files with 226 additions and 1199 deletions

View File

@@ -187,7 +187,7 @@ pub unsafe fn dc_strlower(mut in_0: *const libc::c_char) -> *mut libc::c_char {
let mut out: *mut libc::c_char = dc_strdup(in_0);
let mut p: *mut libc::c_char = out;
while 0 != *p {
*p = tolower(*p as libc::c_int) as libc::c_char;
*p = libc::tolower(*p as libc::c_int) as libc::c_char;
p = p.offset(1isize)
}
@@ -197,7 +197,7 @@ pub unsafe fn dc_strlower(mut in_0: *const libc::c_char) -> *mut libc::c_char {
pub unsafe fn dc_strlower_in_place(mut in_0: *mut libc::c_char) {
let mut p: *mut libc::c_char = in_0;
while 0 != *p {
*p = tolower(*p as libc::c_int) as libc::c_char;
*p = libc::tolower(*p as libc::c_int) as libc::c_char;
p = p.offset(1isize)
}
}