Commit Graph

17 Commits

Author SHA1 Message Date
dwmalone
b4339b74ad 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
tjr
3539ebd46f Use getopt() to reject any options and skip "--" arguments. 2002-05-29 13:14:51 +00:00
imp
0b20191705 remove __P 2002-03-22 01:42:45 +00:00
dwmalone
af004a8a8f 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
markm
46520c3514 WARNS=2 fixes, use __FBSDID(), kill register keyword. 2001-12-11 22:34:38 +00:00
peter
3b842d34e8 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
billf
4822432874 Clean up some ambiguous nested if/elses. 1999-07-04 17:26:16 +00:00
ache
2b00c45114 Allow backspace too 1997-09-15 00:42:04 +00:00
ache
c1fa713ef3 Oops, fix upper controls test 1997-09-15 00:17:38 +00:00
ache
58012f27d3 Localize it. High controls disabled in any case.
Shut compiler warning about signal argument.
PR: 4466
1997-09-15 00:08:19 +00:00
charnier
b7e4fd63e8 Use err(3). Add usage() and prototypes. 1997-08-26 11:23:37 +00:00
alex
20338edbdc Replace hardcoded length of "/dev/" with strlen(_PATH_DEV).
Pointed out by:	bde
1996-10-26 15:29:24 +00:00
alex
882b44482b 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
ache
f139309c06 Do unctrl in right way
Handle '\377' properly
1995-11-05 09:02:10 +00:00
ache
f0cafc464d Remove char->int promotion.
Fix uncontrol function for 8bit chars.
1995-10-29 10:33:26 +00:00
ache
4875c51392 Now works with 8bit chars... 1995-10-28 22:48:27 +00:00
rgrimes
f9ab90d9d6 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00