summaryrefslogtreecommitdiff
path: root/cesar/cp/av
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/cp/av')
-rw-r--r--cesar/cp/av/cco/action/src/cco_action.c2
-rw-r--r--cesar/cp/av/sta/mgr/src/sta_mgr.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/cesar/cp/av/cco/action/src/cco_action.c b/cesar/cp/av/cco/action/src/cco_action.c
index 6ed05a7047..081fd5825d 100644
--- a/cesar/cp/av/cco/action/src/cco_action.c
+++ b/cesar/cp/av/cco/action/src/cco_action.c
@@ -300,7 +300,7 @@ cp_av_cco_action_init (cp_t *ctx)
/* Initialise the SET. */
heap_init (&ctx->cco_action.selection_heap,
- cp_av_cco_action_cco_selection__less);
+ CALLBACK (cp_av_cco_action_cco_selection__less));
/* Create default region. */
cp_av_cco_region_default (ctx);
}
diff --git a/cesar/cp/av/sta/mgr/src/sta_mgr.c b/cesar/cp/av/sta/mgr/src/sta_mgr.c
index cba9b9de25..9b4f99c1e4 100644
--- a/cesar/cp/av/sta/mgr/src/sta_mgr.c
+++ b/cesar/cp/av/sta/mgr/src/sta_mgr.c
@@ -48,10 +48,10 @@ cp_av_sta_mgr_init (cp_t *ctx)
slab_cache_init (&ctx->sta_mgr.sta_slab_cache,
"Station cache",
sizeof (cp_sta_private_t),
- (slab_object_destructor_t) cp_sta_uninit);
+ (slab_object_destructor_t) CALLBACK (cp_sta_uninit));
// Initialise the set of station sorted by mac addresses.
- set_init (&ctx->sta_mgr.stas, cp_sta_mgr_sta_mac_address_less);
+ set_init (&ctx->sta_mgr.stas, CALLBACK (cp_sta_mgr_sta_mac_address_less));
}
static void