From 29e6158507a0758192075ac6ece7ba8e75ddc49a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 9 Apr 2016 23:14:03 +0000 Subject: small API change: do no longer pass rarely needed GNUNET_SCHEDULER_TaskContext to all scheduler tasks; instead, allow the relatively few tasks that need it to obtain the context via GNUNET_SCHEDULER_get_task_context() --- src/ats/gnunet-service-ats_preferences.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/ats/gnunet-service-ats_preferences.c') diff --git a/src/ats/gnunet-service-ats_preferences.c b/src/ats/gnunet-service-ats_preferences.c index b56a8fd7f..c835b026b 100644 --- a/src/ats/gnunet-service-ats_preferences.c +++ b/src/ats/gnunet-service-ats_preferences.c @@ -388,11 +388,9 @@ age_values (void *cls, * Reduce absolute preferences since they got old. * * @param cls unused - * @param tc context */ static void -preference_aging (void *cls, - const struct GNUNET_SCHEDULER_TaskContext *tc) +preference_aging (void *cls) { struct AgeContext ac; -- cgit v1.2.3