res_rtp_asterisk: Statically declare rtp_drop_packets_data object

This patch makes the drop_packets_data object static.

Change-Id: If4f9b21fa0c47d41a35b6b05941d978efb4da87b
This commit is contained in:
Kevin Harwell 2021-03-31 12:17:58 -05:00
parent 3d4564dc16
commit 07f8456dcb
1 changed files with 3 additions and 1 deletions

View File

@ -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)
{