From 55f4f1aeb374d4ceba5cb95eff654db6f41720ad Mon Sep 17 00:00:00 2001 From: "Joop Stakenborg, PG4I" Date: Thu, 9 Mar 2006 19:45:10 +0000 Subject: [PATCH] more compilation warnings nuked, use tone_t for ctcss_list git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2088 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- kenwood/kenwood.c | 4 ++-- kenwood/kenwood.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kenwood/kenwood.c b/kenwood/kenwood.c index 4522ad29f..1fcdf5ce8 100644 --- a/kenwood/kenwood.c +++ b/kenwood/kenwood.c @@ -2,7 +2,7 @@ * Hamlib Kenwood backend - main file * Copyright (c) 2000-2005 by Stephane Fillod and others * - * $Id: kenwood.c,v 1.90 2006-03-07 19:48:20 pa4tu Exp $ + * $Id: kenwood.c,v 1.91 2006-03-09 19:45:10 pa4tu Exp $ * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as @@ -104,7 +104,7 @@ static const struct kenwood_id_string kenwood_id_string_list[] = { /* * 38 CTCSS sub-audible tones */ -const int kenwood38_ctcss_list[] = { +const tone_t kenwood38_ctcss_list[] = { 670, 719, 744, 770, 797, 825, 854, 885, 915, 948, 974, 1000, 1035, 1072, 1109, 1148, 1188, 1230, 1273, 1318, 1365, 1413, 1462, 1514, 1567, 1622, 1679, 1738, 1799, 1862, diff --git a/kenwood/kenwood.h b/kenwood/kenwood.h index 5803980e4..3ce8621b1 100644 --- a/kenwood/kenwood.h +++ b/kenwood/kenwood.h @@ -2,7 +2,7 @@ * Hamlib Kenwood backend - main header * Copyright (c) 2000-2004 by Stephane Fillod * - * $Id: kenwood.h,v 1.40 2005-04-03 20:14:26 fillods Exp $ + * $Id: kenwood.h,v 1.41 2006-03-09 19:45:10 pa4tu Exp $ * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as @@ -34,7 +34,7 @@ struct kenwood_priv_caps { }; -extern const int kenwood38_ctcss_list[]; +extern const tone_t kenwood38_ctcss_list[]; int kenwood_transaction(RIG *rig, const char *cmd, int cmd_len, char *data, size_t *data_len);