MT#55283 move structs out of #ifdef scope

Fixes builds on kernels without BTREE

Reported in #2111

Change-Id: I988c5bf1119352c0bc212751f21c708477cb6df1
pull/2139/head
Richard Fuchs 2 months ago
parent 7f46579034
commit 18625c7ac5

@ -605,6 +605,14 @@ struct re_timer_thread {
ktime_t scheduled_at;
};
static void free_packet_stream(struct re_play_stream_packets *stream);
static void free_play_stream_packet(struct re_play_stream_packet *p);
static void free_play_stream(struct re_play_stream *s);
static void do_stop_stream(struct re_play_stream *stream);
#endif
struct re_ring_buffer {
void *head;
struct rtpengine_buf_slot *slots;
@ -632,14 +640,6 @@ struct re_ring_buffer_pair {
};
static void free_packet_stream(struct re_play_stream_packets *stream);
static void free_play_stream_packet(struct re_play_stream_packet *p);
static void free_play_stream(struct re_play_stream *s);
static void do_stop_stream(struct re_play_stream *stream);
#endif
static struct proc_dir_entry *my_proc_root;
static struct proc_dir_entry *proc_list;
static struct proc_dir_entry *proc_control;

Loading…
Cancel
Save