On Tue, Apr 7, 2009 at 4:39 PM, Tyler Littlefield <[email protected]> wrote:
> yeah. I got that. I was just wondering why void would be inserted there.

Because in C it's not the same.

int func1 () { }
int func2 (void) { }

These are two different things. If you leave it empty, it means that
the function can have any number of parameters, while if you
explicitly specify void then it means the function should not get any
parameters.

-- 
Tamas Marki

Reply via email to