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().