You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
853 B

  1. --- a/src/input/mpegts.h
  2. +++ b/src/input/mpegts.h
  3. @@ -1132,7 +1132,7 @@ typedef struct mpegts_listener
  4. void (*ml_mux_delete) (mpegts_mux_t *mm, void *p);
  5. } mpegts_listener_t;
  6. -LIST_HEAD(,mpegts_listener) mpegts_listeners;
  7. +static LIST_HEAD(,mpegts_listener) mpegts_listeners;
  8. #define mpegts_add_listener(ml)\
  9. LIST_INSERT_HEAD(&mpegts_listeners, ml, ml_link)
  10. --- a/src/input.h
  11. +++ b/src/input.h
  12. @@ -128,8 +128,8 @@ void tvh_hardware_delete ( tvh_hardware_
  13. extern const idclass_t tvh_input_class;
  14. extern const idclass_t tvh_input_instance_class;
  15. -tvh_input_list_t tvh_inputs;
  16. -tvh_hardware_list_t tvh_hardware;
  17. +extern tvh_input_list_t tvh_inputs;
  18. +extern tvh_hardware_list_t tvh_hardware;
  19. #define TVH_INPUT_FOREACH(x) LIST_FOREACH(x, &tvh_inputs, ti_link)
  20. #define TVH_HARDWARE_FOREACH(x) LIST_FOREACH(x, &tvh_hardware, th_link)