Update kern_event.c

modify gcc build error
This commit is contained in:
wenchengji 2024-05-30 23:37:56 +08:00 committed by GitHub
parent 89ec8d70e5
commit 306b685796
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -1672,6 +1672,7 @@ kqueue_release(struct kqueue *kq, int locked)
KQ_UNLOCK(kq);
}
#ifndef FSTACK
static void
kqueue_schedtask(struct kqueue *kq)
{
@ -1685,6 +1686,7 @@ kqueue_schedtask(struct kqueue *kq)
kq->kq_state |= KQ_TASKSCHED;
}
}
#endif
/*
* Expand the kq to make sure we have storage for fops/ident pair.