diff options
author | delphij <delphij@FreeBSD.org> | 2009-12-11 23:30:22 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2009-12-11 23:30:22 +0000 |
commit | f8bfec1fb23c300d6b8bb021cf4f7fdd21981c3f (patch) | |
tree | aefcfd0dd28d25d858a8736b71b6e416b65f8925 /usr.bin/tset/map.c | |
parent | 1f8935fbf1845f4e3c016933b972389054881c1c (diff) | |
download | FreeBSD-src-f8bfec1fb23c300d6b8bb021cf4f7fdd21981c3f.zip FreeBSD-src-f8bfec1fb23c300d6b8bb021cf4f7fdd21981c3f.tar.gz |
Remove unnecessary termcap.h includes inherited from extern.h and other
unneeded headers. While I'm there, make function definations ANSI
prototypes.
Diffstat (limited to 'usr.bin/tset/map.c')
-rw-r--r-- | usr.bin/tset/map.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/usr.bin/tset/map.c b/usr.bin/tset/map.c index d3db6b6..80a894f 100644 --- a/usr.bin/tset/map.c +++ b/usr.bin/tset/map.c @@ -75,9 +75,7 @@ MAP *cur, *maplist; * The baud rate tests are: >, <, @, =, ! */ void -add_mapping(port, arg) - const char *port; - char *arg; +add_mapping(const char *port, char *arg) { MAP *mapp; char *copy, *p, *termp; @@ -190,8 +188,7 @@ badmopt: errx(1, "illegal -m option format: %s", copy); * 'type'. */ const char * -mapped(type) - const char *type; +mapped(const char *type) { MAP *mapp; int match; @@ -240,8 +237,7 @@ SPEEDS speeds[] = { }; speed_t -tset_baudrate(rate) - char *rate; +tset_baudrate(char *rate) { SPEEDS *sp; speed_t speed; |