From f6dfb59eff8aea5a0d995bf9ce5050f79f1057f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Fillod=2C=20F8CFE?= Date: Sat, 2 Jun 2001 18:11:21 +0000 Subject: [PATCH] misc update git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@517 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- dummy/dummy.c | 4 ++-- tests/dumpcaps.c | 5 ++++- tests/listrigs.c | 5 ++++- tests/rigmatrix.c | 5 ++++- 4 files changed, 14 insertions(+), 5 deletions(-) diff --git a/dummy/dummy.c b/dummy/dummy.c index ee5d949ad..6eb85e5c8 100644 --- a/dummy/dummy.c +++ b/dummy/dummy.c @@ -7,7 +7,7 @@ * purpose mainly. * * - * $Id: dummy.c,v 1.7 2001-05-08 09:08:59 f4cfe Exp $ + * $Id: dummy.c,v 1.8 2001-06-02 18:10:20 f4cfe Exp $ * * * This program is free software; you can redistribute it and/or @@ -557,7 +557,7 @@ static int dummy_get_trn(RIG *rig, vfo_t vfo, int *trn) return RIG_OK; } -static unsigned char *dummy_get_info(RIG *rig) +static const char *dummy_get_info(RIG *rig) { rig_debug(RIG_DEBUG_VERBOSE,__FUNCTION__ " called\n"); diff --git a/tests/dumpcaps.c b/tests/dumpcaps.c index 606939bfa..eb621e97c 100644 --- a/tests/dumpcaps.c +++ b/tests/dumpcaps.c @@ -3,7 +3,7 @@ * This programs dumps the capabilities of a backend rig. * * - * $Id: dumpcaps.c,v 1.23 2001-05-08 16:41:52 f4cfe Exp $ + * $Id: dumpcaps.c,v 1.24 2001-06-02 18:11:21 f4cfe Exp $ * * * This program is free software; you can redistribute it and/or @@ -118,6 +118,9 @@ int main (int argc, char *argv[]) case RIG_TYPE_SCANNER: printf("Scanner\n"); break; + case RIG_TYPE_TRUNKSCANNER: + printf("Trunking scanner\n"); + break; case RIG_TYPE_COMPUTER: printf("Computer\n"); break; diff --git a/tests/listrigs.c b/tests/listrigs.c index 079d68f3e..1525aac6f 100644 --- a/tests/listrigs.c +++ b/tests/listrigs.c @@ -3,7 +3,7 @@ * This programs list all the available the rig capabilities. * * - * $Id: listrigs.c,v 1.7 2001-03-02 18:43:25 f4cfe Exp $ + * $Id: listrigs.c,v 1.8 2001-06-02 18:11:21 f4cfe Exp $ * * * This program is free software; you can redistribute it and/or @@ -77,6 +77,9 @@ int print_caps_sum(const struct rig_caps *caps, void *data) case RIG_TYPE_SCANNER: printf("Scanner\n"); break; + case RIG_TYPE_TRUNKSCANNER: + printf("Trunking scanner\n"); + break; case RIG_TYPE_COMPUTER: printf("Computer\n"); break; diff --git a/tests/rigmatrix.c b/tests/rigmatrix.c index 17db6dc10..2eeae0511 100644 --- a/tests/rigmatrix.c +++ b/tests/rigmatrix.c @@ -4,7 +4,7 @@ * The code is rather ugly since this is only a try out. * * - * $Id: rigmatrix.c,v 1.11 2001-05-22 22:01:00 f4cfe Exp $ + * $Id: rigmatrix.c,v 1.12 2001-06-02 18:11:21 f4cfe Exp $ * * * This program is free software; you can redistribute it and/or @@ -88,6 +88,9 @@ int print_caps_sum(const struct rig_caps *caps, void *data) case RIG_TYPE_SCANNER: printf("Scanner"); break; + case RIG_TYPE_TRUNKSCANNER: + printf("Trunking scanner"); + break; case RIG_TYPE_COMPUTER: printf("Computer"); break;