From: Kevin Harwell Date: Wed, 31 Mar 2021 17:17:58 +0000 (-0500) Subject: res_rtp_asterisk: Statically declare rtp_drop_packets_data object X-Git-Tag: 18.4.0-rc1~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1414b9cc576138d9f286f536852b8d158d89d5a5;p=thirdparty%2Fasterisk.git res_rtp_asterisk: Statically declare rtp_drop_packets_data object This patch makes the drop_packets_data object static. Change-Id: If4f9b21fa0c47d41a35b6b05941d978efb4da87b --- diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c index 17041fec7c..16c3be01ac 100644 --- a/res/res_rtp_asterisk.c +++ b/res/res_rtp_asterisk.c @@ -7560,7 +7560,9 @@ struct rtp_drop_packets_data { struct ast_sockaddr addr; /* The optional port from which to drop packets from. */ unsigned int port; -} drop_packets_data; +}; + +static struct rtp_drop_packets_data drop_packets_data; static void drop_packets_data_update(struct timeval tv) {