From 2b1ffb5fb9bab627f5ca873302536a14f7b26f07 Mon Sep 17 00:00:00 2001 From: Dmitry Bogatov Date: Thu, 15 Aug 2019 21:56:42 +0000 Subject: [PATCH] Do not export `dc_strlower' function --- src/dc_tools.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dc_tools.rs b/src/dc_tools.rs index 5f208bf9f..daac339d3 100644 --- a/src/dc_tools.rs +++ b/src/dc_tools.rs @@ -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() }