cvs commit: src/sbin/init Makefile init.c
Xin LI
delphij at FreeBSD.org
Tue Jan 11 06:34:30 PST 2005
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
More information about the cvs-src
mailing list