git: 35c8860cc4de - stable/13 - kqueue1(2): export the symbol from libc

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Sun, 16 Apr 2023 11:10:28 UTC
The branch stable/13 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=35c8860cc4deaf8055fa526f348c7e7cbfa73432

commit 35c8860cc4deaf8055fa526f348c7e7cbfa73432
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-03-25 23:40:39 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-04-16 10:59:43 +0000

    kqueue1(2): export the symbol from libc
    
    (cherry picked from commit 375732cc6e462ca160654886f0411d2950768a8b)
---
 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 9150f835ae0c..503e4e5ca657 100644
--- a/lib/libc/sys/Symbol.map
+++ b/lib/libc/sys/Symbol.map
@@ -418,6 +418,7 @@ FBSD_1.6 {
 
 FBSD_1.7 {
 	 _Fork;
+	kqueue1;
 	swapoff;
 };
 
diff --git a/sys/sys/event.h b/sys/sys/event.h
index 1220ee5343e7..36e965f853fc 100644
--- a/sys/sys/event.h
+++ b/sys/sys/event.h
@@ -360,6 +360,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);