mirror of https://github.com/F-Stack/f-stack.git
Fiexd some build errors of freebsd with gcc-12.2.0.
This commit is contained in:
parent
b61b7363d2
commit
5de047f19a
|
@ -363,6 +363,9 @@ taskqueue_task_nop_fn(void *context, int pending)
|
|||
static int
|
||||
taskqueue_drain_tq_queue(struct taskqueue *queue)
|
||||
{
|
||||
#ifdef FSTACK // for dangling-pointer
|
||||
static
|
||||
#endif
|
||||
struct task t_barrier;
|
||||
|
||||
if (STAILQ_EMPTY(&queue->tq_queue))
|
||||
|
|
Loading…
Reference in New Issue