Date: Sun, 28 Oct 2001 10:35:32 -0800 (PST) From: Jens Schweikhardt <schweikh@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 parse.c pr_comment.c Message-ID: <200110281835.f9SIZWq30402@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110281835.f9SIZWq30402>
