Date: Sat, 30 Mar 2002 09:10:21 -0800 (PST) From: David Malone <dwmalone@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/indent args.c indent.c indent.h indent_globs.h io.c lexi.c Message-ID: <200203301710.g2UHAL308484@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dwmalone 2002/03/30 09:10:21 PST
Modified files:
usr.bin/indent args.c indent.c indent.h indent_globs.h
io.c lexi.c
Log:
1) Const enough things to avoid warnings.
2) Cast ifdef_level to a size_t before comparing it to a ratio of size_ts.
Ifdef_level should always be positive.
3) Complete prototype for chfont.
4) Cast some ptrdiff_ts to ints before using as a field width.
5) Avoid shadowing a local variable p with another local variable p.
Revision Changes Path
1.8 +4 -4 src/usr.bin/indent/args.c
1.13 +8 -8 src/usr.bin/indent/indent.c
1.2 +4 -4 src/usr.bin/indent/indent.h
1.5 +1 -1 src/usr.bin/indent/indent_globs.h
1.9 +7 -7 src/usr.bin/indent/io.c
1.11 +7 -6 src/usr.bin/indent/lexi.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203301710.g2UHAL308484>
