fix #418 - update function declaration to match style guide

This is to fix issue #218. A simple syntax problem.