[FIX] Fix multiple definitions with new -fno-common default in GCC 10 (#1226)

* Fix multiple definitions with new -fno-common default in GCC 10

* Add GCC 10 fix to changelog
This commit is contained in:
Ed Marshall
2020-02-01 22:26:48 -08:00
committed by GitHub
parent 722d52420c
commit 6697ed3496
4 changed files with 8 additions and 4 deletions

View File

@@ -16,6 +16,7 @@
- Fix: lib_ccx.c: Initialize fatal error logging function before first usage in init_libraries
- Fix: A few (minor) memory leaks around the code.
- Fix: General code clean up / reformatting
- Fix: Fix multiple definitions with new -fno-common default in GCC 10
- Doc: Updated ccextractor.cnf.sample.
0.88 (2019-05-21)

View File

@@ -9,6 +9,9 @@ License: GPL 2.0
volatile int terminate_asap = 0;
struct ccx_s_options ccx_options;
struct lib_ccx_ctx *signal_ctx;
void sigusr1_handler(int sig)
{
mprint("Caught SIGUSR1. Filename Change Requested\n");

View File

@@ -41,8 +41,8 @@ char * api_param(struct ccx_s_options* api_options, int count);
#endif
struct ccx_s_options ccx_options;
struct lib_ccx_ctx *signal_ctx;
extern struct ccx_s_options ccx_options;
extern struct lib_ccx_ctx *signal_ctx;
//volatile int terminate_asap = 0;
struct ccx_s_options* api_init_options();

View File

@@ -371,7 +371,7 @@ void ccx_dtvcc_process_service_block(ccx_dtvcc_ctx *dtvcc,
unsigned char *data,
int data_length);
ccx_dtvcc_pen_color ccx_dtvcc_default_pen_color;
ccx_dtvcc_pen_attribs ccx_dtvcc_default_pen_attribs;
extern ccx_dtvcc_pen_color ccx_dtvcc_default_pen_color;
extern ccx_dtvcc_pen_attribs ccx_dtvcc_default_pen_attribs;
#endif