svn rev #19169: trunk/src/ include/ lib/crypto/crc32/ lib/gssapi/krb5/ lib/gssapi/mechglue/ ...

Ken Raeburn raeburn at MIT.EDU
Sun Feb 18 21:41:14 EST 2007

On Feb 18, 2007, at 21:37, epeisach at MIT.EDU wrote:
> Commit By: epeisach
> Log Message:
> Subject: Ensure consistancy between prototypes and functions
> I am using an older compiler that is complaining that prototypes
> do not match the functions they reference.  The issue is that a number
> of prototypes are using "const int foo" while the function is "int  
> foo".
>> From a caller sense it makes no difference - but the compiler is  
>> correct
> they are different.
> All is now consistant.

Actually, the compiler is wrong, if it's reporting these as errors --  
they're compatible.  They don't have to be the same.

It is better to be consistent, though.


More information about the krbdev mailing list