Re: [PATCH 09/10] misc: fix returning void-valued expressionwarnings
From: Al Viro
Date: Thu May 01 2008 - 08:54:32 EST
On Thu, May 01, 2008 at 03:42:14PM +0300, Boaz Harrosh wrote:
> > 3. 6.8.6.4(1): A return statement with an expression shall not appear in
> > a function whose return type is void.
> >
>
> Please forgive my ignorance, where is this quote from?
C99. I don't have C90 in front of me, so I can't give you exact quote from
there, but it's been explicitly banned in C90 as well.
--
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/