I have to modify the code for the G722 codec made by the ITU at work.
I contains realy funky function definitions like this one :
int
main (argc
That's very old (pre-1989 standard) function definition syntax. It's still legal for backwards-compatibility's sake, but it's definitely no longer recommended.
As to why anyone would use it, the only reasonable scenarios I can think of are: