Do not export more than strictly necessary

This commit is contained in:
Dmitry Bogatov
2019-08-16 01:58:57 +00:00
parent f31884fc15
commit ea661896a1
19 changed files with 164 additions and 164 deletions

View File

@@ -62,7 +62,7 @@ pub struct dc_mimeparser_t<'a> {
}
// deprecated
pub unsafe fn dc_no_compound_msgs() {
unsafe fn dc_no_compound_msgs() {
S_GENERATE_COMPOUND_MSGS = 0i32;
}
@@ -93,7 +93,7 @@ pub unsafe fn dc_mimeparser_unref(mimeparser: &mut dc_mimeparser_t) {
dc_mimeparser_empty(mimeparser);
}
pub unsafe fn dc_mimeparser_empty(mimeparser: &mut dc_mimeparser_t) {
unsafe fn dc_mimeparser_empty(mimeparser: &mut dc_mimeparser_t) {
for part in mimeparser.parts.drain(..) {
dc_mimepart_unref(part);
}