/in/p2.cpp: In function 'opaque_list* append(list_t, list_t)':
/in/p2.cpp:95:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/p2.cpp: In function 'opaque_list* filter_odd(list_t)':
/in/p2.cpp:135:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/p2.cpp: In function 'opaque_list* filter(list_t, bool (*)(int))':
/in/p2.cpp:151:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/p2.cpp: In function 'opaque_list* unique(list_t)':
/in/p2.cpp:170:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/p2.cpp: In function 'int tree_sum(tree_t)':
/in/p2.cpp:241:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/p2.cpp: In function 'bool tree_search(tree_t, int)':
/in/p2.cpp:261:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/p2.cpp: In function 'int depth(tree_t)':
/in/p2.cpp:301:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/p2.cpp: In function 'int tree_max(tree_t)':
/in/p2.cpp:317:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/p2.cpp: In function 'opaque_list* traversal(tree_t)':
/in/p2.cpp:334:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/p2.cpp: In function 'bool increasingPath(tree_t)':
/in/p2.cpp:362:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/p2.cpp: In function 'bool decreasingPath(tree_t)':
/in/p2.cpp:389:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/p2.cpp: In function 'int minpath(tree_t)':
/in/p2.cpp:419:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/p2.cpp: In function 'opaque_tree* insert_tree(int, tree_t)':
/in/p2.cpp:500:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^