Fixed prototype for -Wstrict-prototypes
Merge pull request #1028 from hardening/waylanCompilationWarnings

Fixed prototype for -Wstrict-prototypes