summaryrefslogtreecommitdiff
path: root/cesar/cl/src/cl.c
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/cl/src/cl.c')
-rw-r--r--cesar/cl/src/cl.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/cesar/cl/src/cl.c b/cesar/cl/src/cl.c
index 0e83440b9c..ba8d4d958a 100644
--- a/cesar/cl/src/cl.c
+++ b/cesar/cl/src/cl.c
@@ -79,7 +79,7 @@ cl_init (mac_store_t *mac_store, sar_t *sar, mac_config_t *mac_config,
/* Initialize IPMbox. */
cl_global.ipmbox = ipmbox;
ipmbox_register_rx_data_cb (
- ipmbox, &cl_global, (ipmbox_rx_cb_t) cl_ipmbox_data_recv);
+ ipmbox, &cl_global, (ipmbox_rx_cb_t) CALLBACK (cl_ipmbox_data_recv));
/* Initialise Mbx cl sub module. */
cl_global.mbx = cl_mbx_init (ipmbox);
@@ -90,8 +90,8 @@ cl_init (mac_store_t *mac_store, sar_t *sar, mac_config_t *mac_config,
/* Initialize SAR */
cl_global.sar = sar;
sar_init_reassembly_callbacks (cl_global.sar,
- (sar_reassembly_cb_t) cl_sar_data_recv,
- (sar_reassembly_cb_t) cl_sar_mme_recv,
+ (sar_reassembly_cb_t) CALLBACK (cl_sar_data_recv),
+ (sar_reassembly_cb_t) CALLBACK (cl_sar_mme_recv),
&cl_global);
/* Initialize the cl_mactotei table */
@@ -118,8 +118,10 @@ cl_init (mac_store_t *mac_store, sar_t *sar, mac_config_t *mac_config,
CL_TRACE (INIT, phy_date ());
/* Initialize packet sequence check. */
- lib_seq_check_init (&ctx->seq_check_rx_ctx, cl_lib_seq_check_rx_cb, ctx);
- lib_seq_check_init (&ctx->seq_check_tx_ctx, cl_lib_seq_check_tx_cb, ctx);
+ lib_seq_check_init (
+ &ctx->seq_check_rx_ctx, CALLBACK (cl_lib_seq_check_rx_cb), ctx);
+ lib_seq_check_init (
+ &ctx->seq_check_tx_ctx, CALLBACK (cl_lib_seq_check_tx_cb), ctx);
#if CONFIG_STATS
/* Register statistics. */