Do not export `dc_strlower' function

This commit is contained in:
Dmitry Bogatov
2019-08-15 21:56:42 +00:00
parent 37622af55a
commit 2b1ffb5fb9

View File

@@ -168,7 +168,7 @@ pub unsafe fn dc_trim(buf: *mut libc::c_char) {
}
/* the result must be free()'d */
pub unsafe fn dc_strlower(in_0: *const libc::c_char) -> *mut libc::c_char {
unsafe fn dc_strlower(in_0: *const libc::c_char) -> *mut libc::c_char {
to_string(in_0).to_lowercase().strdup()
}