Subject: Re: Bluetooth protocol code
To: None <>
From: None <>
List: tech-kern
Date: 12/20/2005 15:00:27
On Tue, Dec 20, 2005 at 04:39:09PM +0300, Valeriy E. Ushakov wrote:
> I know this is not ANSI.  And you didn't notice the *real* problem
> with that example: it misses one argument from the K&R argument
> declarations block (since it defaults to int, the compiler is silent),
> and it has two arguments swapped there (again, since the order is not
> important, the compiler is silent).

Actually, GCC 3.4 should warn about both with the right flags.