The C99 standard document I have clearly states that
6.7.5.3.14 An identifier list declares only the identifiers of the parameters of the function. An empty list in a function declarator that is part of a definition of that function specifies that the function has no parameters. The empty list in a function declarator that is not part of a definition of that function specifies that no information about the number or types of the parameters is supplied.
What I interpret from that sentence is that writing void
in function definition is redundant. Did I get it correctly?