allow empty/NULL context message
[oweals/gnunet.git] / src / namestore / test_namestore_api_zone_to_name.c
index 348b9178bc7b484c15e8eb5e63af47e2bfea5943..12bc870b4c0ba1cd28222022015511adbc013333 100644 (file)
@@ -63,10 +63,9 @@ static char *directory;
  * Re-establish the connection to the service.
  *
  * @param cls handle to use to re-connect.
- * @param tc scheduler context
  */
 static void
-endbadly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
+endbadly (void *cls)
 {
   if (nsh != NULL)
     GNUNET_NAMESTORE_disconnect (nsh);
@@ -79,7 +78,7 @@ endbadly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 
 
 static void
-end (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
+end (void *cls)
 {
   if (endbadly_task != NULL)
   {