From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Thu, 21 Sep 2023 14:49:25 +0000 (+0100) Subject: move the declaration of principal_conn_lock from player.h to rtsp.h where it should be. X-Git-Tag: 4.3.2^2~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=847ad7fb9c5a28a7b5014668850f7bf3787fbffe;p=thirdparty%2Fshairport-sync.git move the declaration of principal_conn_lock from player.h to rtsp.h where it should be. --- diff --git a/player.h b/player.h index c5cfd002..11435bf9 100644 --- a/player.h +++ b/player.h @@ -415,7 +415,6 @@ typedef struct { uint64_t dac_buffer_queue_minimum_length; } rtsp_conn_info; -extern pthread_mutex_t principal_conn_lock; extern int statistics_row; // will be reset to zero when debug level changes or statistics enabled void reset_buffer(rtsp_conn_info *conn); diff --git a/rtsp.h b/rtsp.h index 59b3ae3d..d58a0bc5 100644 --- a/rtsp.h +++ b/rtsp.h @@ -3,6 +3,7 @@ #include "player.h" +extern pthread_rwlock_t principal_conn_lock; extern rtsp_conn_info *principal_conn; extern rtsp_conn_info **conns;