Increase compiler warnings and fix them
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
AM_CPPFLAGS = -Wall -Wextra -g $(all_includes)
|
||||
AM_CPPFLAGS = -Wall -Wextra -Wmissing-prototypes -g $(all_includes)
|
||||
|
||||
bin_PROGRAMS = \
|
||||
imts \
|
||||
|
@@ -62,8 +62,11 @@ wave_rec_t wave_tx_rec;
|
||||
|
||||
/* dummy functions */
|
||||
int num_kanal = 1; /* only one channel used for debugging */
|
||||
void *get_sender_by_empfangsfrequenz(void);
|
||||
void *get_sender_by_empfangsfrequenz() { return NULL; }
|
||||
void display_measurements_add(void);
|
||||
void display_measurements_add() {}
|
||||
void display_measurements_update(void);
|
||||
void display_measurements_update() {}
|
||||
|
||||
static void print_help(const char *arg0)
|
||||
|
@@ -526,7 +526,7 @@ void sender_receive(sender_t *sender, sample_t *samples, int length, double rf_l
|
||||
|
||||
}
|
||||
|
||||
const char *imts_dsp_mode_name(enum dsp_mode mode)
|
||||
static const char *imts_dsp_mode_name(enum dsp_mode mode)
|
||||
{
|
||||
static char invalid[16];
|
||||
|
||||
|
@@ -177,7 +177,7 @@ void imts_list_channels(void)
|
||||
#define RECEIVE_TIME 0.200 /* Time until detecting receive signal (Guard tone) from mobile */
|
||||
#define ANSWER_TIME 0.200 /* Time until detecting answer signal (Connect tone) from mobile */
|
||||
|
||||
const char *imts_state_name(enum imts_state state)
|
||||
static const char *imts_state_name(enum imts_state state)
|
||||
{
|
||||
static char invalid[16];
|
||||
|
||||
|
Reference in New Issue
Block a user