aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-03-22 00:59:47 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-03-22 01:07:20 +0100
commit2cd36e87ae3e09e33225ac3b1ef4ca649f21f2f0 (patch)
treefdf69804849594484c2d43604f882992487eb748
parent0bc6c11cbf58d6cc7ebafc3ad0bb4a62ce088695 (diff)
fix build: match Iu event cb enum argument type from declaration
-rw-r--r--openbsc/src/gprs/gprs_gmm.c2
-rw-r--r--openbsc/src/gprs/sgsn_main.c2
-rw-r--r--openbsc/src/osmo-cscn/cscn_main.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/src/gprs/gprs_gmm.c b/openbsc/src/gprs/gprs_gmm.c
index b2b4bd93f..ac8c0c410 100644
--- a/openbsc/src/gprs/gprs_gmm.c
+++ b/openbsc/src/gprs/gprs_gmm.c
@@ -99,7 +99,7 @@ static const struct tlv_definition gsm48_sm_att_tlvdef = {
static int gsm48_gmm_authorize(struct sgsn_mm_ctx *ctx);
int sgsn_ranap_rab_ass_resp(struct sgsn_mm_ctx *ctx, RANAP_RAB_SetupOrModifiedItemIEs_t *setup_ies);
-int sgsn_ranap_iu_event(struct ue_conn_ctx *ctx, int type, void *data)
+int sgsn_ranap_iu_event(struct ue_conn_ctx *ctx, enum iu_event_type type, void *data)
{
struct sgsn_mm_ctx *mm;
int rc = -1;
diff --git a/openbsc/src/gprs/sgsn_main.c b/openbsc/src/gprs/sgsn_main.c
index 01a11218e..8c0ead051 100644
--- a/openbsc/src/gprs/sgsn_main.c
+++ b/openbsc/src/gprs/sgsn_main.c
@@ -305,7 +305,7 @@ static const struct log_info gprs_log_info = {
int asn_debug;
-int sgsn_ranap_iu_event(struct ue_conn_ctx *ctx, int type, void *data);
+int sgsn_ranap_iu_event(struct ue_conn_ctx *ctx, enum iu_event_type type, void *data);
int main(int argc, char **argv)
{
diff --git a/openbsc/src/osmo-cscn/cscn_main.c b/openbsc/src/osmo-cscn/cscn_main.c
index dc0d192b0..88963651d 100644
--- a/openbsc/src/osmo-cscn/cscn_main.c
+++ b/openbsc/src/osmo-cscn/cscn_main.c
@@ -322,7 +322,7 @@ static int rcvmsg_iu_cs(struct msgb *msg, struct gprs_ra_id *ra_id, /* FIXME gpr
return gsm0408_rcvmsg_iucs(cscn_network, msg);
}
-static int handle_iu_event(struct ue_conn_ctx *ctx, int type,
+static int handle_iu_event(struct ue_conn_ctx *ctx, enum iu_event_type type,
void *data)
{
DEBUGP(DIUCS, "got Iu-CS event %u\n", type);