Skip to content

Commit

Permalink
Fix window build
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaGianarda committed Feb 24, 2023
1 parent d8e74aa commit f502ed8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/telephonyevents.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,13 @@ mblk_t *rtp_session_create_telephone_event_packet(RtpSession *session, int start
*
*@return 0 on success.
**/
int rtp_session_add_telephone_event(
BCTBX_UNUSED(RtpSession *session), mblk_t *packet, uint8_t event, int end, uint8_t volume, uint16_t duration) {
mblk_t *mp = packet;
int rtp_session_add_telephone_event(RtpSession *session,
mblk_t *packet, uint8_t event, int end, uint8_t volume, uint16_t duration)
{
mblk_t *mp=packet;
telephone_event_t *event_hdr;

(void)session;
/* find the place where to add the new telephony event to the packet */
while (mp->b_cont != NULL)
mp = mp->b_cont;
Expand Down

0 comments on commit f502ed8

Please sign in to comment.