svn commit: trunk/busybox/init

Denys Vlasenko vda.linux at googlemail.com
Tue Dec 25 15:53:47 UTC 2007


On Tuesday 25 December 2007 04:30, vapier at busybox.net wrote:
> Author: vapier
> Date: 2007-12-24 20:30:14 -0800 (Mon, 24 Dec 2007)
> New Revision: 20683
>
> Log:
> convert #if to if -- let gcc optimize away dead code for us

With the following .config:

CONFIG_INIT=y
# CONFIG_DEBUG_INIT is not set
CONFIG_FEATURE_USE_INITTAB=y
# CONFIG_FEATURE_KILL_REMOVED is not set
CONFIG_FEATURE_KILL_DELAY=

it errors out:

init/init.c: In function 'reload_signal':
init/init.c:829: error: expected expression before ')' token
init/init.c:831: error: too few arguments to function 'sleep'
make[1]: *** [init/init.o] Error 1
make: *** [init] Error 2

--
vda



More information about the busybox-cvs mailing list