Hey Fred,
I don't know if you've gotten your answer yet, but I noticed your prototype
declaration. I didn't check on it, but as I understand it, the declaration
should be exactly the same as the definition. In your source snippet, you
have the prototype "void f(int)", but you define it as "f(int i)".
Shouldn't it be prototyped as 'void f(int i)"? This might cause a linker
error of an undefined reference especially if you have code before the
definition that calls f(), but in your case it is probably because it leaves
a hanging prototype.
I hope that helps,
Jonathan
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
|