Give the type 'void' to functions have no argument.

According to the C standard,
it is desirable to give the type 'void'
to functions have no argument.
Merge pull request #1709 from cubicdaiya/issues/nonvoid

Give the type 'void' to functions have no argument.