give the argument of 'void' to function definitions which has no arguments

A function definition which has no arguments is
traditional-style and deprecated
Merge pull request #262 from cubicdaiya/issues/traditional_definition

give the argument of 'void' to function definitions which has no arguments