diff --git a/src/to_stdout/mod.rs b/src/to_stdout/mod.rs
index de140346acbe0bb9e444d1e6cbf95738cfbca8e3..cb8634d2c0e2f320efaa62538aa229ec1af22872 100644
--- a/src/to_stdout/mod.rs
+++ b/src/to_stdout/mod.rs
@@ -1,6 +1,6 @@
 use ptree::{print_tree, TreeBuilder};
 
-pub fn algo_tree() {
+fn algo_tree() {
     let tree = TreeBuilder::new("<name_data_struct>".to_string())
         .begin_child("struct".to_string())
         .add_empty_child("<name_data_struct>.h".to_string())
@@ -14,7 +14,7 @@ pub fn algo_tree() {
     println!();
 }
 
-pub fn exam_tree() {
+fn exam_tree() {
     let tree = TreeBuilder::new("prog_seq_exam_<month>".to_string())
         .begin_child("ex1".to_string())
         .add_empty_child("ex1.c".to_string())