[PATCH] libosmo-abis[master]: osmo_ortp.c: Fix warning: implicit use of function

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Wed Jun 21 13:58:08 UTC 2017


Review at  https://gerrit.osmocom.org/2989

osmo_ortp.c: Fix warning: implicit use of function

Explicitly state that we are using an internal API from ortp, and
define the function we are using to avoid printing a warning.

Change-Id: I9cadcb31ce7ade3632d83753be97fdc9ea518b5b
---
M src/trau/osmo_ortp.c
1 file changed, 5 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/89/2989/1

diff --git a/src/trau/osmo_ortp.c b/src/trau/osmo_ortp.c
index 4e9df56..c4e9d53 100644
--- a/src/trau/osmo_ortp.c
+++ b/src/trau/osmo_ortp.c
@@ -199,6 +199,10 @@
 	return 0;
 }
 
+/* Internal API coming from rtpsession_priv.h, used in osmo_rtcp_fd_cb */
+#pragma message ("Using internal ortp API: rtp_session_rtcp_rec")
+int rtp_session_rtcp_recv(RtpSession * session);
+
 static int osmo_rtcp_fd_cb(struct osmo_fd *fd, unsigned int what)
 {
 	struct osmo_rtp_socket *rs = fd->data;
@@ -360,7 +364,7 @@
 	/* initialize according to the RFC */
 	rtp_session_set_seq_number(rs->sess, random());
 	rs->tx_timestamp = random();
-	
+
 
 	return rs;
 }

-- 
To view, visit https://gerrit.osmocom.org/2989
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9cadcb31ce7ade3632d83753be97fdc9ea518b5b
Gerrit-PatchSet: 1
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>



More information about the gerrit-log mailing list