use c99
[oweals/gnunet.git] / src / set / test_set_union_result_symmetric.c
index 9a49abaf01a281b1804ac4f21723ce00f0bd05f1..77fec71c66be8e007c0bbab60c49abd360993fc9 100644 (file)
@@ -293,14 +293,10 @@ test_iter ()
  * Signature of the main function of a task.
  *
  * @param cls closure
- * @param tc context information (why was this task triggered now)
  */
 static void
-timeout_fail (void *cls,
-              const struct GNUNET_SCHEDULER_TaskContext *tc)
+timeout_fail (void *cls)
 {
-  if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN))
-    return;
   GNUNET_SCHEDULER_shutdown ();
   ret = 1;
 }