Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That was the standard way of declaring parameter types until ANSI C in 1989. C actually copied the current style back from C++.


ANSI C didn't drop old-style (non-prototype) function declarations and definitions -- nor did C99 or C11. They've been officially obsolescent since 1989, but they're still fully supported by any conforming compiler.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: