Fix for function declaration and definition. Makes previous fix useless.
Prevented function redifinition.