From 3e8be4c4f824a09df14734ac4ccb9bcc5b2535d2 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 2 Aug 2021 11:27:16 +0200 Subject: -doxygen fixes --- src/testing/testing_trait_policy.c | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) (limited to 'src/testing/testing_trait_policy.c') diff --git a/src/testing/testing_trait_policy.c b/src/testing/testing_trait_policy.c index 45e773c..1a6e572 100644 --- a/src/testing/testing_trait_policy.c +++ b/src/testing/testing_trait_policy.c @@ -29,14 +29,6 @@ #define ANASTASIS_TESTING_TRAIT_POLICY "anastasis-policy" -/** - * Obtain a policy from @a cmd. - * - * @param cmd command to extract the policy from. - * @param index the index of the policy - * @param t[out] set to the policy coming from @a cmd. - * @return #GNUNET_OK on success. - */ int ANASTASIS_TESTING_get_trait_policy (const struct TALER_TESTING_Command *cmd, unsigned int index, @@ -49,23 +41,16 @@ ANASTASIS_TESTING_get_trait_policy (const struct TALER_TESTING_Command *cmd, } -/** - * Offer a policy. - * - * @param index the policy's index number. - * @param t the policy to offer. - * @return #GNUNET_OK on success. - */ struct TALER_TESTING_Trait -ANASTASIS_TESTING_make_trait_policy - (unsigned int index, - const struct ANASTASIS_Policy *p) +ANASTASIS_TESTING_make_trait_policy (unsigned int index, + const struct ANASTASIS_Policy *p) { struct TALER_TESTING_Trait ret = { .index = index, .trait_name = ANASTASIS_TESTING_TRAIT_POLICY, .ptr = (const void *) p }; + return ret; } -- cgit v1.2.3