Fix attribute parsing on gcc 11.1.0

Fixes following compilation error:
"osmo-mgw/src/libosmo-mgcp/mgcp_stat.c:39:1: error: ‘integer’ attribute directive ignored"

Change-Id: Ia5167068abe8a22cd35a833396cbd7cb531c7e83
Fixes: f936e10f07
Pau Espin 2021-09-16 13:30:18 +02:00 committed by pespin
parent fbf78d13f1
commit a0b69f1896
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@
/* Helper function for mgcp_format_stats_rtp() to calculate packet loss */
#if defined(__has_attribute)
#if __has_attribute(no_sanitize)
void calc_loss(struct mgcp_conn_rtp *conn, uint32_t *expected, int *loss)