X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Ffs%2Ffs_test_lib.c;h=d03888021f70395aedb01db389822dd8a230367f;hb=2a313fb65fe21e5ac6a1ef268fdf43c2ba46a330;hp=a80793912300a36e5066a05f1f8d29d782b0f70d;hpb=d3e7a5e40dd2d5409009a30e1e41148c4d852673;p=oweals%2Fgnunet.git diff --git a/src/fs/fs_test_lib.c b/src/fs/fs_test_lib.c index a80793912..d03888021 100644 --- a/src/fs/fs_test_lib.c +++ b/src/fs/fs_test_lib.c @@ -1,6 +1,6 @@ /* This file is part of GNUnet. - Copyright (C) 2010, 2011, 2012 Christian Grothoff (and other contributing authors) + Copyright (C) 2010, 2011, 2012 GNUnet e.V. GNUnet is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published @@ -183,8 +183,7 @@ struct TestDownloadOperation * @param tc scheduler context (unused) */ static void -report_uri (void *cls, - const struct GNUNET_SCHEDULER_TaskContext *tc) +report_uri (void *cls) { struct TestPublishOperation *po = cls; @@ -208,10 +207,9 @@ report_uri (void *cls, * Task scheduled to run when publish operation times out. * * @param cls the publish operation context - * @param tc scheduler context (unused) */ static void -publish_timeout (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) +publish_timeout (void *cls) { struct TestPublishOperation *po = cls; @@ -480,10 +478,9 @@ GNUNET_FS_TEST_publish (struct GNUNET_TESTBED_Peer *peer, * Task scheduled to run when download operation times out. * * @param cls the download operation context - * @param tc scheduler context (unused) */ static void -download_timeout (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) +download_timeout (void *cls) { struct TestDownloadOperation *dop = cls; @@ -504,11 +501,9 @@ download_timeout (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) * Task scheduled to report on the completion of our download operation. * * @param cls the download operation context - * @param tc scheduler context (unused) */ static void -report_success (void *cls, - const struct GNUNET_SCHEDULER_TaskContext *tc) +report_success (void *cls) { struct TestDownloadOperation *dop = cls;