fixing leak
[oweals/gnunet.git] / src / include / gnunet_program_lib.h
index fcd00b8ef621cd315d2ab0ce4e9cb5a6c6bfc33c..b01703f05b617e5784f9f1e0734b78df75ad69f4 100644 (file)
@@ -43,16 +43,14 @@ extern "C"
  * Main function that will be run.
  *
  * @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
  */
 typedef void (*GNUNET_PROGRAM_Main) (void *cls,
-                                     struct GNUNET_SCHEDULER_Handle * sched,
                                      char *const *args,
                                      const char *cfgfile,
-                                     struct GNUNET_CONFIGURATION_Handle *
+                                     const struct GNUNET_CONFIGURATION_Handle *
                                      cfg);