Date: Tue, 11 Jan 2005 14:34:29 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/init Makefile init.c Message-ID: <200501111434.j0BEYT8B081469@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
delphij 2005-01-11 14:34:29 UTC FreeBSD src repository Modified files: sbin/init Makefile init.c Log: Make WARNS=6 happy with our init(8): - Use more ``const''s where suitable. - Define strk() as a static function in global scope. This avoids the "nested extern declaration" warnings. - Use static initialization of strings, rather than referring string constants through char *. - Bump WARNS from 0 to 6. Revision Changes Path 1.32 +1 -1 src/sbin/init/Makefile 1.60 +39 -24 src/sbin/init/init.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501111434.j0BEYT8B081469>