fix warnings
This commit is contained in:
parent
4ecb428b28
commit
0a2c2fba3f
4
brandt.c
4
brandt.c
@ -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 */
|
||||||
|
9
brandt.h
9
brandt.h
@ -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().
|
||||||
|
Loading…
Reference in New Issue
Block a user