Two changes in example text

corrected function decl & removed an empty comment