@email@example.com @neauoire If I'm reading the standard right, (http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf section 22.214.171.124. points 10 and 14) a declaration with an empty parameter type list should mean the same as void fn(...); which means unknown number and types of arguments. Presumably you then could use va_arg facility in its definition.
In any case void fn() and void fn(void) are of different types.
@firstname.lastname@example.org @neauoire Using void fn() instead of void fn(...) is allowed but discouraged in ANSI C, while the Plan 9 compilers reject it outright.
"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko