/in/p2.cpp: In function 'int size(list_t)':
/in/p2.cpp:24:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/p2.cpp: In function 'bool memberOf(list_t, int)':
/in/p2.cpp:41:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/p2.cpp: In function 'int dot(list_t, list_t)':
/in/p2.cpp:58:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/p2.cpp: In function 'bool isIncreasing(list_t)':
/in/p2.cpp:79:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/p2.cpp: In function 'opaque_list* reverse(list_t)':
/in/p2.cpp:96:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/p2.cpp: In function 'opaque_list* append(list_t, list_t)':
/in/p2.cpp:111:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/p2.cpp: In function 'bool isArithmeticSequence(list_t)':
/in/p2.cpp:134: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:153: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:173:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/p2.cpp: In function 'opaque_list* unique(list_t)':
/in/p2.cpp:193:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/p2.cpp: In function 'opaque_list* chop(list_t, unsigned int)':
/in/p2.cpp:214: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:469:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^