Update comp_tree.c

Changed function names