From a276b9823627fcc3279bd005cc64f63edbeb4819 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 26 Mar 2014 18:00:40 +0100 Subject: oml: Indicate the kind of object passed as the void* These routines do not pass the gsm_abis_mo and parsing the FOM header of the msg does not seem to be a good idea either. Pass in the OML object so that the model code can determine what the void pointer is. --- tests/stubs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/stubs.c b/tests/stubs.c index 53aa434e..99961aad 100644 --- a/tests/stubs.c +++ b/tests/stubs.c @@ -14,7 +14,7 @@ int bts_model_chg_adm_state(struct gsm_bts *bts, struct gsm_abis_mo *mo, int bts_model_init(struct gsm_bts *bts) { return 0; } int bts_model_apply_oml(struct gsm_bts *bts, struct msgb *msg, - struct tlv_parsed *new_attr, void *obj) + struct tlv_parsed *new_attr, int kind, void *obj) { return 0; } int bts_model_rsl_chan_rel(struct gsm_lchan *lchan) { return 0;} -- cgit v1.2.3