don't use gcc experimental embedded function feature

This commit is contained in:
Özgür Kesim 2024-01-15 13:21:30 +01:00
parent e095416bc2
commit 0071ba54de
Signed by: oec
GPG Key ID: 3D76A56D79EDD9D7

View File

@ -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++)
{