svn commit: samba r15333 - in branches/SAMBA_3_0/source: .

Jeremy Allison jra at
Mon May 1 01:00:32 GMT 2006

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.


More information about the samba-technical mailing list