summaryrefslogtreecommitdiffstats
path: root/usr.bin/tset/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tset/map.c')
-rw-r--r--usr.bin/tset/map.c10
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;
OpenPOWER on IntegriCloud