Make init(8) WARNS=6 clean.
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Fri, 25 Feb 2005 15:17:42 +0000 (15:17 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Fri, 25 Feb 2005 15:17:42 +0000 (15:17 +0000)
commitb87f28fc1a10d99b3a3af9fdaaf5e576f48b4e67
treef91779a60c1d64a17df3b7085959114b1479963d
parentbd9334a1799a41c6518e975bfd30c99a93934805
Make init(8) WARNS=6 clean.

Mostly-submitted-by: Kevin M. Kilbride <kmk@ssl.org>
Additionally make local functions and variables static, reorder them
to don't mix variable and function declarations.

Correct the sigalarm handler.

Use __DECONST to cast away the constness for argv.
sbin/init/Makefile
sbin/init/init.c