-only trigger check config if we actually need it
[oweals/gnunet.git] / src / fs / gnunet-service-fs_cadet_client.c
index 417468970178fe8688e9fa9c40f5d7c105ba3407..3ea2efa67930eee60b4678bad33fe904052de9ae 100644 (file)
@@ -246,11 +246,9 @@ reset_cadet (struct CadetHandle *mh)
  * Task called when it is time to destroy an inactive cadet channel.
  *
  * @param cls the `struct CadetHandle` to tear down
- * @param tc scheduler context, unused
  */
 static void
-cadet_timeout (void *cls,
-             const struct GNUNET_SCHEDULER_TaskContext *tc)
+cadet_timeout (void *cls)
 {
   struct CadetHandle *mh = cls;
   struct GNUNET_CADET_Channel *tun;
@@ -270,11 +268,9 @@ cadet_timeout (void *cls,
  * Task called when it is time to reset an cadet.
  *
  * @param cls the `struct CadetHandle` to tear down
- * @param tc scheduler context, unused
  */
 static void
-reset_cadet_task (void *cls,
-                const struct GNUNET_SCHEDULER_TaskContext *tc)
+reset_cadet_task (void *cls)
 {
   struct CadetHandle *mh = cls;