stage2 translate-c: implement functions with no prototype

stage1 translate-c actually has this wrong. When exporting a function,
it's ok to use empty parameters. But for prototypes, "no prototype"
means that it has to be emitted as a function that accepts anything,
e.g. extern fn foo(...) void;

See #1964
10e9d47b49Andrew Kelley committed on 5/11/2019, 4:09:11 PMparent2ef2f9d
3 files changedLine totals unavailable