David Malone
f4ac32def2
ANSIify function definitions.
...
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.
Reviewed by: md5
2002-09-04 23:29:10 +00:00
Tim J. Robbins
759484bacd
Use getopt() to reject any options and skip "--" arguments.
2002-05-29 13:14:51 +00:00
Warner Losh
3f330d7d1a
remove __P
2002-03-22 01:42:45 +00:00
David Malone
421dfbcfdd
1) Move FreeBSD tag to after vendor ID, #if 0 vendor ID.
...
2) Add missing include of stdlib.h for exit(), spotted by gcc3.
2002-02-27 14:40:09 +00:00
Mark Murray
9ba3a235b1
WARNS=2 fixes, use __FBSDID(), kill register keyword.
2001-12-11 22:34:38 +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
Andrey A. Chernov
fe38e2f8f4
Allow backspace too
1997-09-15 00:42:04 +00:00
Andrey A. Chernov
07484d1f24
Oops, fix upper controls test
1997-09-15 00:17:38 +00:00
Andrey A. Chernov
77caf2118f
Localize it. High controls disabled in any case.
...
Shut compiler warning about signal argument.
PR: 4466
1997-09-15 00:08:19 +00:00
Philippe Charnier
29909ffecc
Use err(3). Add usage() and prototypes.
1997-08-26 11:23:37 +00:00
Alexander Langer
0adcbd83f1
Replace hardcoded length of "/dev/" with strlen(_PATH_DEV).
...
Pointed out by: bde
1996-10-26 15:29:24 +00:00
Alexander Langer
2d754ac864
sprintf --> snprintf
...
Use _PATH_DEV instead of hard coded "/dev/"
Obtained from: OpenBSD, Jason Downs <downsj@OpenBSD.ORG>
1996-10-26 04:08:57 +00:00
Andrey A. Chernov
dbc57b8da7
Do unctrl in right way
...
Handle '\377' properly
1995-11-05 09:02:10 +00:00
Andrey A. Chernov
b6c671c7ba
Remove char->int promotion.
...
Fix uncontrol function for 8bit chars.
1995-10-29 10:33:26 +00:00
Andrey A. Chernov
ee15822acd
Now works with 8bit chars...
1995-10-28 22:48:27 +00:00
Rodney W. Grimes
9b50d90275
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00