In any case. It think the practical solution to this problem is to assume you're working with modern code, and have a command line option to make it assume K&R or old-style declarations.

In the old-style mode you would have to assume a function with an empty () could have any number of parameters and the best you can do is produce:

extern (C) <ret> <name>(/* fill in the blanks please*/);

R

Reply via email to