Fixes two warnings about missing function header declarations
Fixes missing newline and end warning
Merge pull request #71 from steipete/master

Fixes several warnings