I second Salem.
If you define a function as "int blabla(...)" it is supposed to return an integer. Considering it does not return an int, boolean or any other thing, then it is a void function....