| --- a/src/input/mpegts.h |
| +++ b/src/input/mpegts.h |
| @@ -1132,7 +1132,7 @@ typedef struct mpegts_listener |
| void (*ml_mux_delete) (mpegts_mux_t *mm, void *p); |
| } mpegts_listener_t; |
| |
| -LIST_HEAD(,mpegts_listener) mpegts_listeners; |
| +static LIST_HEAD(,mpegts_listener) mpegts_listeners; |
| |
| #define mpegts_add_listener(ml)\ |
| LIST_INSERT_HEAD(&mpegts_listeners, ml, ml_link) |
| --- a/src/input.h |
| +++ b/src/input.h |
| @@ -128,8 +128,8 @@ void tvh_hardware_delete ( tvh_hardware_ |
| extern const idclass_t tvh_input_class; |
| extern const idclass_t tvh_input_instance_class; |
| |
| -tvh_input_list_t tvh_inputs; |
| -tvh_hardware_list_t tvh_hardware; |
| +extern tvh_input_list_t tvh_inputs; |
| +extern tvh_hardware_list_t tvh_hardware; |
| |
| #define TVH_INPUT_FOREACH(x) LIST_FOREACH(x, &tvh_inputs, ti_link) |
| #define TVH_HARDWARE_FOREACH(x) LIST_FOREACH(x, &tvh_hardware, th_link) |