The first version you posted is explicit, and, in my limited experience, is unnecessary.
Just use the second version if you have no input arguments; there's no difference.
There is a difference between the two in C or C++.
http://david.tribble.com/text/cdiffs.htm#C99-empty-parm
Reputation Points: 2780
Solved Threads: 312
long time no c
Offline 4,790 posts
since Apr 2004