From owner-cvs-all Sun Oct 28 10:35:36 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5D2A237B407; Sun, 28 Oct 2001 10:35:32 -0800 (PST) Received: (from schweikh@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9SIZWq30402; Sun, 28 Oct 2001 10:35:32 -0800 (PST) (envelope-from schweikh) Message-Id: <200110281835.f9SIZWq30402@freefall.freebsd.org> From: Jens Schweikhardt Date: Sun, 28 Oct 2001 10:35:32 -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 parse.c pr_comment.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 schweikh 2001/10/28 10:35:32 PST Modified files: usr.bin/indent args.c indent.c indent_globs.h io.c lexi.c parse.c pr_comment.c Added files: usr.bin/indent indent.h Log: Make this compile cleanly when warnings are enabled: - ANSIfy function declarations - braces around initializers structs within structs - add parens in complicated expressions - disambiguate dangling elses - no more implicit int - make functions static where possible - use prototypes - don't use varargs hack for diag() Requested by: joerg MFC after: 2 weeks Revision Changes Path 1.7 +81 -78 src/usr.bin/indent/args.c 1.12 +39 -45 src/usr.bin/indent/indent.c 1.1 +47 -0 src/usr.bin/indent/indent.h (new) 1.4 +2 -2 src/usr.bin/indent/indent_globs.h 1.8 +76 -42 src/usr.bin/indent/io.c 1.10 +45 -44 src/usr.bin/indent/lexi.c 1.6 +13 -9 src/usr.bin/indent/parse.c 1.5 +12 -12 src/usr.bin/indent/pr_comment.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message