Incorrect function declaration

Just a couple of typos fixed.