1 May 2006 03:00
Re: svn commit: samba r15333 - in branches/SAMBA_3_0/source: .
Jeremy Allison <jra <at> samba.org>
2006-05-01 01:00:32 GMT
2006-05-01 01:00:32 GMT
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.
RSS Feed