fixed: prototype and definition needs to match

a standard c++ requirement.