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