'function' : no function return type; using int as default
Since the given function had not yet been declared or defined, the return type was unknown. A default return type of int was assumed.
This warning may be avoided by adding a prototype for the given function.