looks like a prototype but really isn't?
Posted on 2005-04-05
I have a function that is prototyped in a header file:
extern long foo(long in_val);
Then, in one of my C files, it is sort of prototyped (if that's the right word)
long lng1, lng2, foo();
lng2 = foo(lng1);
Am I correct in recalling that the "declaration" of foo within the function is not really
a protoype and, consequently, is OK without the argument to the function?