add missing spaces into function declarations
remove spaces before '(' to follow style guide
Merge pull request #326 from t3chnoboy/master

add missing spaces into function declarations