On Sun, Apr 30, 2006 at 07:41:47PM -0400, Green, Paul wrote:
> Jeremy,
> 
> I went back to the C manual and read up on this.
> 
> Declaring a function that takes no arguments by using an empty list (as
> in "()") is the nonprototyped form.
> Declaring the same function by using the a list consisting only of
> "(void)" is the prototyped form.
> 
> Your change is fine.  Prototypes are good.  I guess my PL/I was showing
> thru.  I apologize.
> 
> Unfortunately, both our in-house C compiler and GCC both passed the
> nonprototyped form.  Who had the compiler that barfed at it?

gcc gave warnings.

Jeremy.

Reply via email to