From 0a2c2fba3fbd6809013dd2607707dbe99c4dc4b8 Mon Sep 17 00:00:00 2001 From: Markus Teich Date: Fri, 19 Aug 2016 22:24:49 +0200 Subject: [PATCH] fix warnings --- brandt.c | 4 +++- brandt.h | 9 +++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/brandt.c b/brandt.c index edfca62..571d5b8 100644 --- a/brandt.c +++ b/brandt.c @@ -50,8 +50,10 @@ BRANDT_init (struct GNUNET_CRYPTO_EccDlogContext *dlogctx) } +void BRANDT_start (struct BRANDT_Auction *auction, - uint16_t n){ + uint16_t n) +{ GNUNET_assert (n > 0); auction->n = n; /** \todo: send first message */ diff --git a/brandt.h b/brandt.h index 385d67b..9487e06 100644 --- a/brandt.h +++ b/brandt.h @@ -216,16 +216,17 @@ BRANDT_new (BRANDT_CbResult result, /** * This function must be called when bidding after receipt of the start - * notification. + * notification from the seller. * * @param[in] auction The pointer returned by BRANDT_join(). * @param[in] n The amount of bidders (from the start announcement message). - void - BRANDT_start (struct BRANDT_Auction *auction, + */ +void +BRANDT_start (struct BRANDT_Auction *auction, uint16_t n); - /** +/** * Clean up this auction on shutdown. * * @param[in] auction The pointer returned by BRANDT_join() or BRANDT_new().