aboutsummaryrefslogtreecommitdiff
path: root/src/pt/gnunet-daemon-pt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pt/gnunet-daemon-pt.c')
-rw-r--r--src/pt/gnunet-daemon-pt.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/pt/gnunet-daemon-pt.c b/src/pt/gnunet-daemon-pt.c
index c377c3f90..a86cbd316 100644
--- a/src/pt/gnunet-daemon-pt.c
+++ b/src/pt/gnunet-daemon-pt.c
@@ -800,11 +800,9 @@ transmit_dns_request_to_cadet (void *cls,
800 * Task run if the time to answer a DNS request via CADET is over. 800 * Task run if the time to answer a DNS request via CADET is over.
801 * 801 *
802 * @param cls the `struct RequestContext` to abort 802 * @param cls the `struct RequestContext` to abort
803 * @param tc scheduler context
804 */ 803 */
805static void 804static void
806timeout_request (void *cls, 805timeout_request (void *cls)
807 const struct GNUNET_SCHEDULER_TaskContext *tc)
808{ 806{
809 struct RequestContext *rc = cls; 807 struct RequestContext *rc = cls;
810 struct CadetExit *exit = rc->exit; 808 struct CadetExit *exit = rc->exit;
@@ -1023,11 +1021,9 @@ abort_all_requests (struct CadetExit *exit)
1023 * Function scheduled as very last function, cleans up after us 1021 * Function scheduled as very last function, cleans up after us
1024 * 1022 *
1025 * @param cls closure, NULL 1023 * @param cls closure, NULL
1026 * @param tskctx scheduler context, unused
1027 */ 1024 */
1028static void 1025static void
1029cleanup (void *cls, 1026cleanup (void *cls)
1030 const struct GNUNET_SCHEDULER_TaskContext *tskctx)
1031{ 1027{
1032 struct CadetExit *exit; 1028 struct CadetExit *exit;
1033 1029