aboutsummaryrefslogtreecommitdiffstats
path: root/src/amps/amps.h
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2020-01-12 10:22:12 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2020-01-12 11:17:58 +0100
commitddce8678215ff402754f17ee3aa8f090e56be255 (patch)
tree216a9b0c88429ff5cc49994e9cb664b93609a5e7 /src/amps/amps.h
parentf132059edf70aed8bab58d03472b4b13aadda68e (diff)
Fixed compiler error for old GCC
Diffstat (limited to 'src/amps/amps.h')
-rw-r--r--src/amps/amps.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/amps/amps.h b/src/amps/amps.h
index 0bfcf62..f04b3d3 100644
--- a/src/amps/amps.h
+++ b/src/amps/amps.h
@@ -2,6 +2,7 @@
#include "../libmobile/sender.h"
#include "../libtimer/timer.h"
#include "../libcompandor/compandor.h"
+typedef struct amps amps_t;
#include "sysinfo.h"
#include "transaction.h"
@@ -35,7 +36,7 @@ enum fsk_rx_sync {
#define FSK_MAX_BITS 1032 /* maximum number of bits to process (FVC with dotting+sync) */
-typedef struct amps {
+struct amps {
sender_t sender;
compandor_t cstate;
int pre_emphasis; /* use pre_emphasis by this instance */
@@ -159,7 +160,7 @@ typedef struct amps {
double when_received; /* time stamp of received frame start (start of dotting) */
double when_transmitted[16]; /* time stamps of filler frames with different count */
int when_count; /* counter of the filler frame */
-} amps_t;
+};
void amps_channel_list(void);
int amps_channel_by_short_name(const char *short_name);