aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-08-05 07:09:14 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-08-05 07:09:14 +0800
commita3b46c9ac06adbd16fb0d9a6ae1e31395adca85a (patch)
tree19b259b5f0763ce7d5dfa6c4f50d8b1c0bcbf31a
parente602cd69881bc222c0bedc61aa49cbb7294bf7d6 (diff)
mgcp: Fix the signature of the change_cb to not carry the port.
-rw-r--r--openbsc/src/mgcp/mgcp_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/mgcp/mgcp_main.c b/openbsc/src/mgcp/mgcp_main.c
index d5b6502cb..76f4667f9 100644
--- a/openbsc/src/mgcp/mgcp_main.c
+++ b/openbsc/src/mgcp/mgcp_main.c
@@ -121,7 +121,7 @@ static int mgcp_rsip_cb(struct mgcp_config *cfg)
return 0;
}
-static int mgcp_change_cb(struct mgcp_config *cfg, int endpoint, int state, int local_rtp)
+static int mgcp_change_cb(struct mgcp_config *cfg, int endpoint, int state)
{
if (state != MGCP_ENDP_MDCX)
return 0;