Move the function definition to the source file, there doesn't seem to be any reason to keep it in the header.