-only trigger check config if we actually need it
[oweals/gnunet.git] / src / fs / gnunet-service-fs_cadet_client.c
index 8d27491302159eb10850f790a792d5b55ff1b1e8..3ea2efa67930eee60b4678bad33fe904052de9ae 100644 (file)
@@ -1,6 +1,6 @@
 /*
      This file is part of GNUnet.
-     Copyright (C) 2012, 2013 Christian Grothoff (and other contributing authors)
+     Copyright (C) 2012, 2013 GNUnet e.V.
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
@@ -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;