From c331ed0d56f77e4be2e9be6d4bae72173b42fb33 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Thu, 25 Aug 2011 20:26:23 +0200 Subject: [PATCH] Prototype fixups --- antlib.c | 6 +++--- fr60.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/antlib.c b/antlib.c index 3793bff..6db4e9d 100644 --- a/antlib.c +++ b/antlib.c @@ -439,7 +439,7 @@ ANT_OpenRxScanMode(uchar chan) } uchar -ANT_Initf(char *devname, ushort baud) +ANT_Initf(char *devname) { struct termios tp; @@ -468,12 +468,12 @@ ANT_Initf(char *devname, ushort baud) } uchar -ANT_Init(uchar devno, ushort baud) +ANT_Init(uchar devno) { char dev[40]; sprintf(dev, "/dev/ttyUSB%d", devno); - return ANT_Initf(dev, devno); + return ANT_Initf(dev); } uchar diff --git a/fr60.c b/fr60.c index 294d091..c924b97 100644 --- a/fr60.c +++ b/fr60.c @@ -758,8 +758,8 @@ main(int ac, char *av[]) if ((!passive && !authfile) || ac) usage(); - - if (!ANT_Init(devnum, 0)) { // should be 115200 but doesn't fit into a short + + if (!ANT_Init(devnum)) { // should be 115200 but doesn't fit into a short fprintf(stderr, "open dev %d failed\n", devnum); exit(1); } -- 2.39.5