Incorrect function declaration

Just a couple of typos fixed.
Merge pull request #4 from Matt--/patch-2

Incorrect function declaration