Fiexd some build errors of freebsd with gcc-12.2.0.

This commit is contained in:
fengbojiang 2023-10-19 15:57:24 +08:00
parent b61b7363d2
commit 5de047f19a
1 changed files with 3 additions and 0 deletions

View File

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