mirror of
https://github.com/ziglang/zig.git
synced 2025-12-13 17:53:07 +00:00
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