removing fprintfs -- with bad %fmt statements giving warnings
[oweals/gnunet.git] / src / peerinfo / test_peerinfo_api.c
index b2e95d7679296acdd24793070d6d5543e7afdae6..fdd0dc46051a862e83be5aca5f5953d2dc1cf978 100644 (file)
@@ -36,8 +36,6 @@
 #include "gnunet_time_lib.h"
 #include "peerinfo.h"
 
-static struct GNUNET_SCHEDULER_Handle *sched;
-
 static const struct GNUNET_CONFIGURATION_Handle *cfg;
 
 static struct GNUNET_PEERINFO_IteratorContext *ic;
@@ -143,14 +141,12 @@ process (void *cls,
 
 static void
 run (void *cls,
-     struct GNUNET_SCHEDULER_Handle *s,
      char *const *args,
      const char *cfgfile, 
      const struct GNUNET_CONFIGURATION_Handle *c)
 {
-  sched = s;
   cfg = c;
-  h = GNUNET_PEERINFO_connect (sched, cfg);
+  h = GNUNET_PEERINFO_connect (cfg);
   GNUNET_assert (h != NULL);
   add_peer ();
   ic = GNUNET_PEERINFO_iterate (h,
@@ -165,7 +161,7 @@ static int
 check ()
 {
   int ok = 3;
-  GNUNET_OS_Process *proc;
+  struct GNUNET_OS_Process *proc;
   char *const argv[] = { "test-peerinfo-api",
     "-c",
     "test_peerinfo_api_data.conf",