]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Fix warning about redefined function.
authorMike Brady <mikebrady@eircom.net>
Sat, 7 May 2016 08:01:46 +0000 (08:01 +0000)
committerMike Brady <mikebrady@eircom.net>
Sat, 7 May 2016 08:01:46 +0000 (08:01 +0000)
rtsp.c

diff --git a/rtsp.c b/rtsp.c
index af0f8f78b70599a77d7fc730338c2c0b418b917f..976effe18ff4bc7573de9b87318424ae5511913f 100644 (file)
--- 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)) {