line
[oweals/gnunet.git] / src / statistics / gnunet-statistics.c
index 3742a496d587d179d5571bf582c0c7a704aee4d5..0cbafa68faf30fe8e1b7c366f86131e648d015dc 100644 (file)
@@ -104,14 +104,12 @@ cleanup (void *cls, int success)
  * Main function that will be run by the scheduler.
  *
  * @param cls closure
- * @param sched the scheduler to use
  * @param args remaining command-line arguments
  * @param cfgfile name of the configuration file used (for saving, can be NULL!)
  * @param cfg configuration
  */
 static void
 run (void *cls,
-     struct GNUNET_SCHEDULER_Handle *sched,
      char *const *args,
      const char *cfgfile,
      const struct GNUNET_CONFIGURATION_Handle *cfg)
@@ -128,7 +126,7 @@ run (void *cls,
           ret = 1;
           return;
         }
-      h = GNUNET_STATISTICS_create (sched, subsystem, cfg);
+      h = GNUNET_STATISTICS_create (subsystem, cfg);
       if (h == NULL)
         {
           ret = 1;
@@ -138,7 +136,7 @@ run (void *cls,
       GNUNET_STATISTICS_destroy (h, GNUNET_YES);
       return;
     }
-  h = GNUNET_STATISTICS_create (sched, "gnunet-statistics", cfg);
+  h = GNUNET_STATISTICS_create ("gnunet-statistics", cfg);
   if (h == NULL)
     {
       ret = 1;