crond and non-void function not returning

Bernhard Fischer rep.nop at aon.at
Fri May 19 19:42:57 UTC 2006


On Fri, May 19, 2006 at 09:35:07PM +0200, Yann E. MORIN wrote:
>Hello all!
>
>The crond_main function is non-void, but is never returning. The compiler,
>how smart can he be, can not know that. The warning is trivial, and should
>be suppressed.
>
>Here is a one-liner for this.

hmz. I'd rather put ATTRIBUTE_NORETURN unto the decl of crond_main..



More information about the busybox mailing list