fix warnings

This commit is contained in:
Markus Teich 2016-08-19 22:24:49 +02:00
parent 4ecb428b28
commit 0a2c2fba3f
2 changed files with 8 additions and 5 deletions

View File

@ -50,8 +50,10 @@ BRANDT_init (struct GNUNET_CRYPTO_EccDlogContext *dlogctx)
} }
void
BRANDT_start (struct BRANDT_Auction *auction, BRANDT_start (struct BRANDT_Auction *auction,
uint16_t n){ uint16_t n)
{
GNUNET_assert (n > 0); GNUNET_assert (n > 0);
auction->n = n; auction->n = n;
/** \todo: send first message */ /** \todo: send first message */

View File

@ -216,16 +216,17 @@ BRANDT_new (BRANDT_CbResult result,
/** /**
* This function must be called when bidding after receipt of the start * 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] auction The pointer returned by BRANDT_join().
* @param[in] n The amount of bidders (from the start announcement message). * @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); uint16_t n);
/** /**
* Clean up this auction on shutdown. * Clean up this auction on shutdown.
* *
* @param[in] auction The pointer returned by BRANDT_join() or BRANDT_new(). * @param[in] auction The pointer returned by BRANDT_join() or BRANDT_new().