don't export local functions, make them static

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1929 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.2.4
Stéphane Fillod, F8CFE 2005-02-24 22:40:28 +00:00
rodzic 4927f1ef79
commit 0b425c4a70
1 zmienionych plików z 6 dodań i 6 usunięć

Wyświetl plik

@ -1,8 +1,8 @@
/*
* Hamlib Kenwood backend - TS140 description
* Copyright (c) 2000-2003 by Stephane Fillod
* Copyright (c) 2000-2005 by Stephane Fillod
*
* $Id: ts140.c,v 1.3 2005-01-31 16:15:55 pa4tu Exp $
* $Id: ts140.c,v 1.4 2005-02-24 22:40:28 fillods 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
@ -60,7 +60,7 @@ static const struct kenwood_priv_caps ts140_priv_caps = {
.cmdtrm = EOM_KEN,
};
int ts140_get_mode(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width)
static int ts140_get_mode(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width)
{
unsigned char modebuf[50];
int mode_len, retval;
@ -95,7 +95,7 @@ int ts140_get_mode(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width)
return RIG_OK;
}
int ts140_set_vfo(RIG *rig, vfo_t vfo)
static int ts140_set_vfo(RIG *rig, vfo_t vfo)
{
unsigned char cmdbuf[16], ackbuf[16];
int cmd_len, ack_len, retval;
@ -121,7 +121,7 @@ int ts140_set_vfo(RIG *rig, vfo_t vfo)
return RIG_OK;
}
int ts140_get_freq(RIG *rig, vfo_t vfo, freq_t *freq)
static int ts140_get_freq(RIG *rig, vfo_t vfo, freq_t *freq)
{
unsigned char freqbuf[50];
int freq_len, retval;
@ -149,7 +149,7 @@ int ts140_get_freq(RIG *rig, vfo_t vfo, freq_t *freq)
return RIG_OK;
}
int ts140_set_func(RIG *rig, vfo_t vfo, setting_t func, int status)
static int ts140_set_func(RIG *rig, vfo_t vfo, setting_t func, int status)
{
unsigned char fctbuf[16], ackbuf[16];
int fct_len, ack_len;