don't use gcc experimental embedded function feature
This commit is contained in:
parent
e095416bc2
commit
0071ba54de
35
replay.c
35
replay.c
@ -162,27 +162,28 @@ cb_result (void *arg,
|
||||
}
|
||||
|
||||
|
||||
struct cls
|
||||
{
|
||||
size_t i;
|
||||
struct transcript *tr;
|
||||
};
|
||||
|
||||
|
||||
static void
|
||||
resend (void *x)
|
||||
{
|
||||
struct cls c = *(struct cls *) x;
|
||||
struct msg m = c.tr->msgs[c.i];
|
||||
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
|
||||
"REPLAY sending msg no. %ld, length %ld\n", c.i, m.buf_len);
|
||||
BRANDT_got_message (c.tr->auction, m.sender, m.buf, m.buf_len);
|
||||
}
|
||||
|
||||
|
||||
static uint16_t
|
||||
cb_start (void *auction_closure)
|
||||
{
|
||||
struct transcript *tr = (struct transcript *) auction_closure;
|
||||
struct cls
|
||||
{
|
||||
size_t i;
|
||||
struct transcript *tr;
|
||||
};
|
||||
|
||||
void
|
||||
resend (void *x)
|
||||
{
|
||||
struct cls c = *(struct cls *) x;
|
||||
struct msg m = c.tr->msgs[c.i];
|
||||
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
|
||||
"REPLAY sending msg no. %ld, length %ld\n", c.i, m.buf_len);
|
||||
BRANDT_got_message (c.tr->auction, m.sender, m.buf, m.buf_len);
|
||||
}
|
||||
|
||||
|
||||
GNUNET_log (GNUNET_ERROR_TYPE_INFO, "REPLAY start replay auction\n");
|
||||
for (size_t i = 0; i < 4 * tr->n; i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user