From a539ef2a879ff65e548aa0bb2ad6de65ba04275a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 23 Oct 2016 16:03:17 +0000 Subject: [PATCH] avoid using dying type for function --- src/testbed/testbed_api.c | 4 ++-- src/testbed/testbed_api.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/testbed/testbed_api.c b/src/testbed/testbed_api.c index 3f2109ecd..667b9b369 100644 --- a/src/testbed/testbed_api.c +++ b/src/testbed/testbed_api.c @@ -75,7 +75,7 @@ struct ForwardedOperationData /** * The callback to call when reply is available */ - GNUNET_CLIENT_MessageHandler cc; + GNUNET_MQ_MessageCallback cc; /** * The closure for the above callback @@ -1362,7 +1362,7 @@ struct OperationContext * GNUNET_TESTBED_forward_operation_msg_ (struct GNUNET_TESTBED_Controller *controller, uint64_t operation_id, const struct GNUNET_MessageHeader *msg, - GNUNET_CLIENT_MessageHandler cc, + GNUNET_MQ_MessageCallback cc, void *cc_cls) { struct OperationContext *opc; diff --git a/src/testbed/testbed_api.h b/src/testbed/testbed_api.h index 82ff5918f..09db9265f 100644 --- a/src/testbed/testbed_api.h +++ b/src/testbed/testbed_api.h @@ -415,7 +415,7 @@ struct OperationContext * GNUNET_TESTBED_forward_operation_msg_ (struct GNUNET_TESTBED_Controller *controller, uint64_t operation_id, const struct GNUNET_MessageHeader *msg, - GNUNET_CLIENT_MessageHandler cc, + GNUNET_MQ_MessageCallback cc, void *cc_cls); /** -- 2.25.1