From owner-cvs-all Sat Mar 30 9:11:15 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (unknown [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5106E37B400; Sat, 30 Mar 2002 09:11:12 -0800 (PST) Received: (from dwmalone@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2UHAL308484; Sat, 30 Mar 2002 09:10:21 -0800 (PST) (envelope-from dwmalone) Message-Id: <200203301710.g2UHAL308484@freefall.freebsd.org> From: David Malone Date: Sat, 30 Mar 2002 09:10:21 -0800 (PST) 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 X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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