Re: [PATCH] devpts_fs.h fails with "error: parameter name omitted"
From: viro
Date: Mon Feb 23 2004 - 22:02:07 EST
On Tue, Feb 24, 2004 at 01:49:42PM +1100, Ian Wienand wrote:
> On Tue, Feb 24, 2004 at 02:24:24AM +0000, viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx wrote:
> > That part makes sense. Previous one doesn't.
>
> Is that by convention or is leaving out the parameter name in the
> prototype standardised somewhere?
It's valid C and it's pretty common style. Both that and leaving the
names in prototype can be found in the kernel and CodingStyle is OK
with either variant. Which makes the change gratitious.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/