Jens Schweikhardt
7916863d82
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
2001-10-28 18:35:32 +00:00
David E. O'Brien
52608c9fbf
Fix indent endless on garbage input (i.e., if it encountered EOF while
...
waiting for a '}' nesting terminator)
Obtained from: OpenBSD rev 1.8
2001-02-27 20:50:34 +00:00
Jeroen Ruigrok van der Werven
d7d97eb0aa
Preceed/preceeding are not english words. Use precede and preceding.
2001-02-18 10:43:53 +00:00
David E. O'Brien
175f26d6ed
Don't abuse the SCCS `@(#)' for RCS.
...
Requested by: bde
2000-12-25 01:16:12 +00:00
David E. O'Brien
9e50dd7726
Add or fix FreeBSD IDs.
2000-12-09 09:52:52 +00:00
David E. O'Brien
a5e1cac0f5
"Implement -[n]fcb (formatting of block comments) and attempt to implement
...
no-space=after-sizeof (not optional) and no-space-after 'struct foo *'
(not optional). Without these, indent unKNFizes even more perfectly KNF code."
Submitted by: bde
2000-12-09 09:45:09 +00:00
Kris Kennaway
0c4d24a78f
Don't call err() with no format string.
2000-07-10 09:14:15 +00:00
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
Bill Fumerola
9ef5c48bef
Clean up some ambiguous nested if/elses.
1999-07-04 17:26:16 +00:00
Peter Hawkins
18251d7146
PR: 7583
...
Submitted by: Dave Glowacki <dglo@SSEC.WISC.EDU>
Support input via stdin if no input file name specified explicitly
1998-10-18 04:46:24 +00:00
Philippe Charnier
958d7c9f1d
Use err(3) instead of local redefinition. Add usage().
1997-07-15 09:50:59 +00:00
Rodney W. Grimes
9b50d90275
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00