aboutsummaryrefslogtreecommitdiff
path: root/src/regex/gnunet-regex-simulation-profiler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regex/gnunet-regex-simulation-profiler.c')
-rw-r--r--src/regex/gnunet-regex-simulation-profiler.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/regex/gnunet-regex-simulation-profiler.c b/src/regex/gnunet-regex-simulation-profiler.c
index 04aa66b32..27dfa773d 100644
--- a/src/regex/gnunet-regex-simulation-profiler.c
+++ b/src/regex/gnunet-regex-simulation-profiler.c
@@ -271,10 +271,9 @@ free_meter (struct ProgressMeter *meter)
271 * Shutdown task. 271 * Shutdown task.
272 * 272 *
273 * @param cls NULL 273 * @param cls NULL
274 * @param tc the task context
275 */ 274 */
276static void 275static void
277do_shutdown (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 276do_shutdown (void *cls)
278{ 277{
279 shutdown_task = NULL; 278 shutdown_task = NULL;
280 if (NULL != abort_task) 279 if (NULL != abort_task)
@@ -292,10 +291,9 @@ do_shutdown (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
292 * abort task to run on test timed out 291 * abort task to run on test timed out
293 * 292 *
294 * @param cls NULL 293 * @param cls NULL
295 * @param tc the task context
296 */ 294 */
297static void 295static void
298do_abort (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 296do_abort (void *cls)
299{ 297{
300 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Aborting\n"); 298 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Aborting\n");
301 abort_task = NULL; 299 abort_task = NULL;
@@ -564,10 +562,9 @@ policy_filename_cb (void *cls, const char *filename)
564 * Iterate over files contained in policy_dir. 562 * Iterate over files contained in policy_dir.
565 * 563 *
566 * @param cls NULL 564 * @param cls NULL
567 * @param tc the task context
568 */ 565 */
569static void 566static void
570do_directory_scan (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 567do_directory_scan (void *cls)
571{ 568{
572 struct GNUNET_TIME_Absolute start_time; 569 struct GNUNET_TIME_Absolute start_time;
573 struct GNUNET_TIME_Relative duration; 570 struct GNUNET_TIME_Relative duration;