LWN.net Logo

Dennis Ritchie RIP your legacy...

Dennis Ritchie RIP your legacy...

Posted Oct 17, 2011 11:50 UTC (Mon) by jwakely (subscriber, #60262)
In reply to: Dennis Ritchie RIP your legacy... by jengelh
Parent article: Dennis Ritchie RIP

An empty list in a function declarator that is part of a definition of that function specifies that the function has no parameters.
i.e. In a function definition (as opposed to a prototype) int main() is the same as int main(void) and so is correct.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds