Fix compilation with GCC 10, defaulting to -fno-common. solve issue #52
This commit is contained in:
parent
0f5816b63a
commit
1a6901488d
2
main.c
2
main.c
@ -37,6 +37,8 @@ const char *copyright;
|
|||||||
extern char *optarg;
|
extern char *optarg;
|
||||||
extern int optind;
|
extern int optind;
|
||||||
|
|
||||||
|
int trace_flag = 0;
|
||||||
|
|
||||||
void usage()
|
void usage()
|
||||||
{
|
{
|
||||||
fprintf(stderr, "DMR Config, Version %s, %s\n", version, copyright);
|
fprintf(stderr, "DMR Config, Version %s, %s\n", version, copyright);
|
||||||
|
4
radio.h
4
radio.h
@ -139,9 +139,9 @@ extern unsigned char radio_mem[];
|
|||||||
//
|
//
|
||||||
// File descriptor of serial port with programming cable attached.
|
// File descriptor of serial port with programming cable attached.
|
||||||
//
|
//
|
||||||
int radio_port;
|
extern int radio_port;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Read/write progress counter.
|
// Read/write progress counter.
|
||||||
//
|
//
|
||||||
int radio_progress;
|
extern int radio_progress;
|
||||||
|
Loading…
Reference in New Issue
Block a user