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/conversation/test_conversation_api_reject.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/conversation/test_conversation_api_reject.c') diff --git a/src/conversation/test_conversation_api_reject.c b/src/conversation/test_conversation_api_reject.c index 13dfcd3d5..5f1f836f7 100644 --- a/src/conversation/test_conversation_api_reject.c +++ b/src/conversation/test_conversation_api_reject.c @@ -130,10 +130,9 @@ static struct GNUNET_MICROPHONE_Handle call_mic = { * Signature of the main function of a task. * * @param cls closure - * @param tc context information (why was this task triggered now) */ static void -end_test (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) +end_test (void *cls) { GNUNET_SCHEDULER_shutdown (); if (NULL != op) -- cgit v1.2.3