Xin LI
821df508e8
Revert most part of 200420 as requested, as more review and polish is
...
needed.
2009-12-13 03:14:06 +00:00
Xin LI
6f2d322192
Remove unneeded header includes from usr.bin/ except contributed code.
...
Tested with: make universe
2009-12-11 23:35:38 +00:00
Tim J. Robbins
d10ab05ebd
Add support for multibyte characters. The output is questionable when a
...
character straddles the "start" or "stop" columns, but this should be
quite uncommon.
2004-07-29 09:09:22 +00:00
David Malone
6ed42fb9d2
ANSIify function definitions to avoid a warning.
2002-07-28 15:22:43 +00:00
Warner Losh
f1bb2cd2aa
remove __P
2002-03-22 01:22:50 +00:00
David Malone
9f5b04e925
Style improvements recommended by Bruce as a follow up to some
...
of the recent WARNS commits. The idea is:
1) FreeBSD id tags should follow vendor tags.
2) Vendor tags should not be compiled (though copyrights probably should).
3) There should be no blank line between including cdefs and __FBSDIF.
2001-12-10 21:13:08 +00:00
Mark Murray
6e47870b77
Style stuff.
...
Sort includes.
Remove 'register'
Use __FBSDID().
2001-12-02 23:44:42 +00:00
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
Archie Cobbs
fa146c5335
Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).
1998-12-06 22:58:23 +00:00
Alexander Langer
d7d1005304
-Wall cleanup.
1997-12-29 00:09:06 +00:00
Philippe Charnier
41e964cb5d
Remove lines inside #ifdef 0/#endif.
1997-06-30 11:10:18 +00:00
Philippe Charnier
c39208571b
Use err(3) instead of local redefinition.
1997-06-26 11:26:20 +00:00
Warner Losh
1c8af87873
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 04:34:07 +00:00
Peter Wemm
0da30e9aa7
Import some parts of CSRG 4.4BSD-Lite2 usr.bin sources to fix tree build.
1997-03-11 13:08:12 +00:00