git: 375732cc6e46 - main - kqueue1(2): export the symbol from libc

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Mon, 27 Mar 2023 23:39:33 UTC
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=375732cc6e462ca160654886f0411d2950768a8b

commit 375732cc6e462ca160654886f0411d2950768a8b
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-03-25 23:40:39 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-03-27 23:39:26 +0000

    kqueue1(2): export the symbol from libc
    
    Reviewed by:    emaste, jhb
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D39271
---
 lib/libc/sys/Symbol.map | 1 +
 sys/sys/event.h         | 1 +
 2 files changed, 2 insertions(+)

diff --git a/lib/libc/sys/Symbol.map b/lib/libc/sys/Symbol.map
index 7984f54da697..7f6afd7b298b 100644
--- a/lib/libc/sys/Symbol.map
+++ b/lib/libc/sys/Symbol.map
@@ -419,6 +419,7 @@ FBSD_1.6 {
 FBSD_1.7 {
 	_Fork;
 	fspacectl;
+	kqueue1;
 	swapoff;
 };
 
diff --git a/sys/sys/event.h b/sys/sys/event.h
index e91ccbb31ae8..a2c0d481ebb2 100644
--- a/sys/sys/event.h
+++ b/sys/sys/event.h
@@ -361,6 +361,7 @@ struct timespec;
 
 __BEGIN_DECLS
 int     kqueue(void);
+int     kqueue1(unsigned flags);
 int     kevent(int kq, const struct kevent *changelist, int nchanges,
 	    struct kevent *eventlist, int nevents,
 	    const struct timespec *timeout);