From 58f3758ad6ae166c1b2e95d04da3ea2a4aeabb4f Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Sat, 7 May 2016 08:01:46 +0000 Subject: [PATCH] Fix warning about redefined function. --- rtsp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtsp.c b/rtsp.c index af0f8f78..976effe1 100644 --- a/rtsp.c +++ b/rtsp.c @@ -143,8 +143,6 @@ typedef struct { rtsp_message *carrier; } metadata_package; -void ask_other_rtsp_conversation_threads_to_stop(pthread_t except_this_thread); - void pc_queue_init(pc_queue *the_queue, char *items, size_t item_size, uint32_t number_of_items) { pthread_mutex_init(&the_queue->pc_queue_lock, NULL); @@ -246,6 +244,8 @@ int pc_queue_get_item(pc_queue *the_queue, void *the_stuff) { #endif +void ask_other_rtsp_conversation_threads_to_stop(pthread_t except_this_thread); + // determine if we are the currently playing thread static inline int rtsp_playing(void) { if (pthread_mutex_trylock(&play_lock)) {